You have to register for the BOOT_COMPLETED intent but also for the
intent that will start the actual service.In manifest file use
permission as
< uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

The broadcast action android.intent.action.BOOT_COMPLETED that is sent
out once the platform boot is complete.


On Oct 12, 2:53 pm, MarcoCanali <marco.can...@gmail.com> wrote:
> How start my service when turn on my device in automatic mode ??

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