Back to project page Tacere.
The source code is released under:
MIT License
If you think the Android project Tacere listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (c) 2014 Jonathan Nelson/*from ww w. ja va 2 s . co m*/ * Released under the BSD license. For details see the COPYING file. */ package org.ciasaboark.tacere.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import org.ciasaboark.tacere.manager.AlarmManagerWrapper; import org.ciasaboark.tacere.service.RequestTypes; public class BootCompletedReceiver extends BroadcastReceiver { // private static final String TAG = "PollServiceReceiver"; @Override public void onReceive(Context context, Intent intent) { AlarmManagerWrapper alarmManagerWrapper = new AlarmManagerWrapper(context); alarmManagerWrapper.scheduleImmediateAlarm(RequestTypes.FIRST_WAKE); } }