Back to project page androidphotobackup.
The source code is released under:
Apache License
If you think the Android project androidphotobackup 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.brightsilence.dev.androidphotobackup; //from www . j a v a 2 s .com import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** */ public class PhotoBackupServiceStarter extends BroadcastReceiver { PhotoBackupAlarmReceiver m_alarm = new PhotoBackupAlarmReceiver(); @Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED") || intent.getAction().equals("android.intent.action.QUICKBOOT_POWERON")) { // TODO: Should only set the alarm if this is required. m_alarm.setAlarm( context ); } } }