List of usage examples for android.location LocationListener interface-usage
From source file com.swetha.easypark.GoogleDirectionsActivity.java
public class GoogleDirectionsActivity extends FragmentActivity implements LocationListener { public Location location = null; LocationManager locationManager; GoogleMap mMap; GetDirections md; String provider;
From source file com.initiativaromania.hartabanilorpublici.IRUserInterface.map.IRLocationListener.java
/** * Created by claudiu on 2/8/16. */ public class IRLocationListener implements LocationListener { public static final int IR_PERMISSION_ACCESS_COURSE_LOCATION = 19; private static final int LOCATION_UPDATES_LIMIT = 3;
From source file com.example.programming.proximityalerts.ProximityAlertService.java
/** * Service that provides an alternative implementation for a proximity alert. * * @author Adam Stroud <<a href="mailto:adam.stroud@gmail.com">adam.stroud@gmail.com</a>> */ public class ProximityAlertService extends Service implements LocationListener {
From source file com.dotd.mgrs.gps.MGRSLocationListener.java
public class MGRSLocationListener extends Service implements LocationListener { // Send the new location to the broadcast receiver for the service private void sendLocationBroadcast(MGRSLocation mgrs) { Intent intent = new Intent("MGRSlocation"); intent.putExtra("location", mgrs.toString());
From source file com.example.getneighborposition.MainActivity.java
public class MainActivity extends FragmentActivity implements LocationListener { private SupportMapFragment mapFragment; private static final String HOGE_MAP_FRAGMENT_TAG = "maps_fragment"; private GoogleMap gMap;
From source file com.example.demo_dv_fuse.MapScreen.java
/** * A screen that displays a Google map. */ public class MapScreen extends Activity implements LocationListener { private GoogleMap map;
From source file anipr.stampitgo.android.Locator.java
public class Locator implements ConnectionCallbacks, OnConnectionFailedListener, LocationListener, android.location.LocationListener { Activity activity; double lat = 0; double lng = 0; int ENABLED = 1;
From source file org.runnerup.tracker.GpsStatus.java
/**
*
* This is a helper class that is used to determine when the GPS status is good
* enough (isFixed())
*
*/
From source file uk.ac.horizon.ubihelper.service.channel.GpsStatusChannel.java
/** * @author cmg * */ public class GpsStatusChannel extends NamedChannel implements Listener, LocationListener {
From source file org.wso2.carbon.iot.android.sense.event.streams.location.LocationDataReader.java
/** * This is used to retrieve the location data using GPS and used Network connection to increase the accuracy. */ public class LocationDataReader extends DataReader implements LocationListener { protected LocationManager locationManager; private final Context mContext;