List of usage examples for android.location LocationListener interface-usage
From source file com.example.android.uvdemo.MainActivity.java
/**
* A simple launcher activity containing a summary sample description, sample log and a custom
* {@link android.support.v4.app.Fragment} which can display a view.
* <p/>
* For devices with displays with a width of 720dp or greater, the sample log is always visible,
* on other devices it's visibility is controlled by an item on the Action Bar.
From source file com.manuelmazzuola.speedtogglebluetooth.service.MonitorSpeed.java
/** * @author Manuel Mazzuola */ public class MonitorSpeed extends Service implements LocationListener { private final int intentId = 1988; private final float triggerDistance = 260f;
From source file com.vonglasow.michael.satstat.PasvLocListenerService.java
public class PasvLocListenerService extends Service implements GpsStatus.Listener, LocationListener, OnSharedPreferenceChangeListener { // The unique ID for the notification private static final int ONGOING_NOTIFICATION = 1;
From source file de.grobox.liberario.locations.LocationGpsView.java
public class LocationGpsView extends LocationView implements LocationListener { private final String SEARCHING = "searching"; private LocationManager locationManager; private LocationGpsListener gpsListener;
From source file com.example.amapapplicationtest.MainActivity.java
public class MainActivity extends FragmentActivity implements LocationListener { Context context = this; GoogleMap googlemap; MarkerDataSource data; /** Called when the activity is first created. */
From source file tcc.iesgo.activity.ClientMapActivity.java
public class ClientMapActivity extends MapActivity implements LocationListener { MapView mapView; //Mapa List<Overlay> mapOverlays; //Objetos do mapa MapController mc; //Controlador do mapa LocationManager lm;
From source file org.borderstone.tagtags.widgets.BGPSWidget.java
/** * This class used to be so pretty... now its not all that pretty anymore. * I had to re-implement old code in conjunction with new code and it had to be done quickly. * It works, but it is a bit spaghetti. */ public class BGPSWidget extends BGeneralWidget
From source file de.grobox.liberario.ui.LocationGpsView.java
public class LocationGpsView extends LocationView implements LocationListener { private final String SEARCHING = "searching"; private LocationManager locationManager; private LocationGpsListener gpsListener;
From source file root.gast.playground.sensor.altitude.DetermineAltitudeActivity.java
/** * Displays the current altitude * * @author Adam Stroud <<a href="mailto:adam.stroud@gmail.com">adam.stroud@gmail.com</a>> */ public class DetermineAltitudeActivity extends Activity implements SensorEventListener, LocationListener {
From source file com.nearnotes.NoteLocation.java
public class NoteLocation extends DialogFragment implements LocationListener { private static final int NOTE_EDIT = 1; private static final int NOTE_LIST = 2; private static final int LOCATION_MODE_OFF = 0; private static final int LOCATION_MODE_SENSORS_ONLY = 1; private static final int LOCATION_MODE_BATTERY_SAVING = 2;