List of usage examples for android.location LocationListener interface-usage
From source file com.android.ePerion.gallery.mapEperion.GoogleMapEperion.java
/** * Class which implements the Google Map in order to visualize the picture, defined as a marker, in the map and see the route * between the different markers. * @author Julien Salvi */ public class GoogleMapEperion extends MapActivity implements LocationListener {
From source file ch.ethz.coss.nervousnet.vm.sensors.LocationSensor.java
public class LocationSensor extends BaseSensor implements LocationListener { private static String LOG_TAG = LocationSensor.class.getSimpleName(); private LocationManager locationManager; private float MIN_UPDATE_DISTANCE = 1; // Minimum Distance between
From source file pubsub.io.android.example.Pubsub_exampleActivity.java
/**
* Example pubsub.io - Android client.
*
* @author Andreas Goransson
*
*/
From source file org.mapsforge.samples.android.location.MyLocationOverlay.java
/**
* A thread-safe {@link Layer} implementation to display the current location. NOTE: This code really does not reflect
* Android best practice and used in production leads to bad user experience (e.g. long time to first fix, excessive
* battery use, non-compliance with the Android lifecycle...). Best use the new location services provided by Google
* Play Services. Also note that MyLocationOverlay needs to be added to a view before requesting location updates
* (otherwise no DisplayModel is set).
From source file com.refujiate.ui.MainMapaActivity.java
/** * * @author Toditos */ public class MainMapaActivity extends FragmentActivity implements LocationListener {
From source file org.sacids.android.activities.GeoPointMapNotDraggableActivity.java
/**
* Version of the GeoPointMapActivity that uses the new Maps v2 API and Fragments.
*
* This is a dumbed-down version of the other map that does not allow hand-placement
* of the geolocation, but does display that location on the map.
*
From source file org.mapsforge.applications.android.samples.location.MyLocationOverlay.java
/**
* A thread-safe {@link Layer} implementation to display the current location. NOTE: This code really does not reflect
* Android best practice and used in production leads to bad user experience (e.g. long time to first fix, excessive
* battery use, non-compliance with the Android lifecycle...). Best use the new location services provided by Google
* Play Services. Also note that MyLocationOverlay needs to be added to a view before requesting location updates
* (otherwise no DisplayModel is set).
From source file com.example.s_geomapsample.MainActivity.java
public class MainActivity extends FragmentActivity implements LocationListener { private GeoFenceManager mGeoFenceManager; private int mValueMaxCount = 20;
From source file org.koboc.collect.android.activities.GeoPointMapNotDraggableActivity.java
/**
* Version of the GeoPointMapActivity that uses the new Maps v2 API and Fragments.
*
* This is a dumbed-down version of the other map that does not allow hand-placement
* of the geolocation, but does display that location on the map.
*
From source file com.example.androidmapsv2.MainActivity.java
public class MainActivity extends FragmentActivity implements OnMapClickListener, OnMapLongClickListener, OnMarkerClickListener, OnMarkerDragListener, OnInfoWindowClickListener, LocationListener, LocationSource { // Contantes. private static final int RQS_GooglePlayServices = 1;