> i have created a java application, i would like to run the application at
> boot time
> do i need to use RECEIVE_BOOT_COMPLETED
> if yes can is there an example someone can post
https://github.com/commonsguy/cw-advandroid/tree/master/SystemEvents/OnBoot
The right reason to use this is to set up an AlarmManager schedule to
get control on a periodic basis.
99.99% of Android apps do not need to have a service start up at boot
time and remain running all of the time.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment