Android实现开机自启动Service
<br />首先做一个监听器:<br /><br /> public class StartBroadcastReceiver extends BroadcastReceiver{private static final String ACTION = "android.intent.action.BOOT_COMPLETED";public void onReceive(Context context, Intent intent) { if (intent.
原创
2010-06-21 11:45:00 ·
2835 阅读 ·
0 评论