On Fri, Dec 31, 2010 at 5:17 AM, AC <alistair.cunning...@gmail.com> wrote:

> The other approach which springs to mind is to user a TimerTask (maybe
> calling an AsyncTask if necessary to avoid blocking the UI thread) from
> the MapViewActivity.
>

That sounds like a plan.


> Another consideration is that it would be nice to continue polling when in
> other activities within the same application. This way when the user
> switches to the map activity, the map is already up to date.
>

In this case you'd probably need that Service, binding to it as necessary
when switching to the map.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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