Android Open Source - android-accelerometer-gps Timeout Receiver






From Project

Back to project page android-accelerometer-gps.

License

The source code is released under:

MIT License

If you think the Android project android-accelerometer-gps 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.szlosek.whenmoving;
//from   w  w w.  j a  v a  2s .  c  o  m
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

// Receives AlarmManager RTC_WAKEUPs ... stops GPS polling
public class TimeoutReceiver extends BroadcastReceiver {

  @Override
  public void onReceive(Context context, Intent intent) {
    MainApplication.mServiceInstance.gpsTimeout();
  }
}




Java Source Code List

com.szlosek.whenmoving.CalibrationActivity.java
com.szlosek.whenmoving.CircularBuffer.java
com.szlosek.whenmoving.DatabaseHelper.java
com.szlosek.whenmoving.DaysActivity.java
com.szlosek.whenmoving.MainActivity.java
com.szlosek.whenmoving.MainApplication.java
com.szlosek.whenmoving.MainReceiver.java
com.szlosek.whenmoving.MainService.java
com.szlosek.whenmoving.SettingsActivity.java
com.szlosek.whenmoving.TimeoutReceiver.java