Back to project page sthlmtraveling.
The source code is released under:
Apache License
If you think the Android project sthlmtraveling 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.markupartist.sthlmtraveling.receivers; /*from w w w . ja v a 2 s. co m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import com.markupartist.sthlmtraveling.service.DeviationService; import com.markupartist.sthlmtraveling.service.WakefulIntentService; public class OnAlarmReceiver extends BroadcastReceiver { private static final String TAG = "OnAlarmReceiver"; @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "recieved alarm"); DeviationService.startService(context); } }