Android Open Source - wakeup Bootreceiver






From Project

Back to project page wakeup.

License

The source code is released under:

Apache License

If you think the Android project wakeup listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.niceappp.wakeup;
//from w ww.  j a  v a2 s .c  o m
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class Bootreceiver extends BroadcastReceiver {

  @Override
  public void onReceive(Context context, Intent intent) {
    Intent service = new Intent(context, WakeupService.class);
      context.startService(service);
  }

}




Java Source Code List

com.niceappp.wakeup.Admin.java
com.niceappp.wakeup.Bootreceiver.java
com.niceappp.wakeup.MainActivity.java
com.niceappp.wakeup.WakeupService.java