Android Open Source - android-gps-test-tool Satellite Data Activity






From Project

Back to project page android-gps-test-tool.

License

The source code is released under:

Apache License ? 2.0 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by...

If you think the Android project android-gps-test-tool 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.agup.gps;
//  w  ww .j a  v a  2s  .c o m
import com.agup.gps.controllers.SatelliteDataActivityController;

import android.app.Activity;
import android.os.Bundle;

public class SatelliteDataActivity extends Activity {
    
  private SatelliteDataActivityController _activityController = null;
  
  @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.satdata);
        
        _activityController = new SatelliteDataActivityController(this);    }
  
  @Override 
  protected void onDestroy() { 
    super.onDestroy();
  }
  
  @Override
  protected void onPause() {
    _activityController.stopLocation();
    super.onPause();
  }
  
  @Override
  protected void onStop(){
    _activityController.stopLocation();    
    super.onStop();
  }
  
  @Override   
  protected void onResume() {
    super.onResume(); 
    if(_activityController != null){
      _activityController.startLocation();
    }
  }  
}




Java Source Code List

com.agup.gps.GPSTesterActivity.java
com.agup.gps.SatelliteDataActivity.java
com.agup.gps.SettingsActivity.java
com.agup.gps.controllers.GPSTesterActivityController.java
com.agup.gps.controllers.SatelliteDataActivityController.java
com.agup.gps.fragments.GPSAlertDialogFragment.java
com.agup.gps.fragments.NetworkAlertDialogFragment.java
com.agup.gps.utils.CheckConnectivity.java
com.agup.gps.utils.DrawCircle.java
com.agup.gps.utils.ElapsedTimer.java
com.agup.gps.utils.Preferences.java