Back to project page Geoclock.
The source code is released under:
GNU General Public License
If you think the Android project Geoclock 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 maurizi.geoclock; /* w w w.ja va2s . c o m*/ import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; public class AlarmManagerReceiver extends AbstractGeoAlarmReceiver { @Override public void onConnected(Bundle bundle) { // TODO: Add this to the AndroidManifest.xml // TODO: Remove notification for this alarm. // If repeating alarm, reset alarm (basically identical to geofenceReceiver). // If not, delete it. // TODO: Call Alarm Clock Intent and have it go off immediately (or in 1-5 seconds?) } public static PendingIntent getPendingIntent(Context context) { Intent intent = new Intent(context, AlarmManagerReceiver.class); return PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); } }