[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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home