Back to project page triptracker.
The source code is released under:
Copyright (c) 2012 joshua stein <jcs@jcs.org> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redist...
If you think the Android project triptracker 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 org.jcs.triptracker; //from w ww . ja va 2 s. co m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class AlarmBroadcast extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { /* we now have a wake lock until we return */ if (TrackerService.service != null && TrackerService.service.isRunning()) TrackerService.service.findAndSendLocation(); } }