Back to project page GPSTracker.
The source code is released under:
MIT License
If you think the Android project GPSTracker 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.creyon.gpstracker; //from w w w. j a v a 2 s . co m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class Trigger extends BroadcastReceiver{ /** * Whenever the user boots his device this method is called * **/ @Override public void onReceive(Context context, Intent arg1) { // TODO Auto-generated method stub context.startService( new Intent(context,Tracker.class) ); } }