Back to project page InitHub-Android.
The source code is released under:
MIT License
If you think the Android project InitHub-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.solutiosoft.android.inithub; /* w w w. j a v a2 s .c o m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class BootupReceiver extends BroadcastReceiver { private static final String TAG = "BootupReceiver"; public BootupReceiver() { } @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")){ Log.d(TAG, "Boot up broadcast received........."); AlarmReceiver ar = new AlarmReceiver(); ar.startAlarm(context.getApplicationContext()); } } }