Re: [android-developers] BootStrapService
On 12 January 2011 08:03, Ken H hunt1...@gmail.com wrote: It's been about a year since I've done anything with the .BootStrapService. Has anything changed? My service no longer seems to set its alarm after the phone restarts -- it use to. Anything basic I've missed? if you want your app when phone starts you shall create broadcast receiver: receiver android:name=.BootReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED / /intent-filter /receiver and add uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / -- 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
[android-developers] BootStrapService
It's been about a year since I've done anything with the .BootStrapService. Has anything changed? My service no longer seems to set its alarm after the phone restarts -- it use to. I have my broadcast receiver set: @Override public void onReceive(Context context, Intent intent) { BootStrapService.getLock(context).acquire(); context.startService(new Intent(context, BootStrapService.class)); } and the service is defined in the manifest: service android:enabled=true android:name=.BootStrapService / The build target is Google APIs 2.2 and the minSdkVersion=4. BootStrapService class creates an alarm. Anything basic I've missed? Ken -- 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