On Wed, Sep 1, 2010 at 6:28 AM, Laxs <oum.la...@googlemail.com> wrote:
> Thanks for your answers,
>
> there are no Server connections required for my method. What I'm doing
> is to check my actual position and compare it to defined areas in the
> database.
> if I find a matching Area I want to start an Intent and notify the
> user.
>
> If I get it right, my method should be a Broadcast receiver which will
> be triggered by the AlarmManager, is this right?

And if there is significant work to be done, the BroadcastReceiver
should probably delegate to an IntentService, since onReceive() runs
at foreground priority on the main application thread.

> so I will push my futher resarches in the direction of alarmManager.
> If you got some examples I would appreciate if you send me a link.

http://github.com/commonsguy/cw-advandroid/tree/master/SystemServices/Alarm/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to