On Wed, Nov 21, 2012 at 12:58 PM, fernando arellano
<[email protected]>wrote:

> I think the easy way to resolve it is create a service which always are
> running and notifying to the activity, this service should run a thread to
> check periodically the data from the web service.


Having a service which "always are running" is not only not really
possible, but a terrible drain on resources. Your app will appear to be
running all the time. Again, you should use AlarmManager to schedule work
that occurs periodically.

-------------------------------------------------------------------------------------------------
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to