Archana wrote:
> Hi,
>
> Please let me know if the following is okay:
> 1. Fire alarm for every 5 minutes using Alarm Manager
> 2. Response- Start a service that polls server
> 3. After polling, new alarm is set and service shuts down.
> Should I also use WakeLock in my code?
> https://github.com/commonsguy/cwac-wakeful
>
> Thank you!
>
>
>

yes, use wake locks and replace steps #2 <-> #3

pskink

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