Android Open Source - GPSTracker Trigger






From Project

Back to project page GPSTracker.

License

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.

Java Source Code

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)
    );
  } 
}




Java Source Code List

com.creyon.gpstracker.GlobalData.java
com.creyon.gpstracker.Message.java
com.creyon.gpstracker.StarterActivity.java
com.creyon.gpstracker.Tracker.java
com.creyon.gpstracker.Transport.java
com.creyon.gpstracker.Trigger.java