Example usage for android.location LocationListener interface-usage

List of usage examples for android.location LocationListener interface-usage

Introduction

In this page you can find the example usage for android.location LocationListener interface-usage.

Usage

From source file ch.luethi.skylinestracker.PositionService.java

public class PositionService extends Service implements LocationListener {

    private SkyLinesTrackingWriter skyLinesTrackingWriter = null;
    private LocationManager locationManager;
    private SkyLinesPrefs prefs;
    private HandlerThread senderThread;

From source file org.wso2.emm.agent.services.location.impl.LocationServiceImpl.java

/**
 * This class holds the function implementations of the location service.
 */
public class LocationServiceImpl extends Service implements LocationListener, LocationService {

    private Location location;

From source file com.boundlessgeo.spatialconnect.scutilities.LocationHelper.java

/**
 * LocationHelper is used to provide GPS functionality to a GoogleMap or other component that needs the users current
 * location.  It can enable/disable GPS listening, can get the users location using the GPS provider, and also handles
 * the process of asking the user for permission to use the GPS to obtain their current location.
 *
 * For Android 6.0 (API 23) you need to explicitly get permission to use GPS location at runtime.  See

From source file org.pjeremie.floodinfo.GPSTracker.java

public class GPSTracker extends Service implements LocationListener {

    private final Context mContext;

    // flag for GPS status
    boolean isGPSEnabled = false;

From source file com.hqas.ridetracker.TrackerService.java

/**
 * Created by joneby on 11/12/2013.
 */
public class TrackerService extends Service implements LocationListener, LocationSource {
    private static final String TAG = TrackerService.class.getSimpleName();

From source file com.facebook.samples.placepicker.PlacePickerSampleActivity.java

public class PlacePickerSampleActivity extends FragmentActivity implements LocationListener {
    private static final int PLACE_ACTIVITY = 1;
    private static final Location SEATTLE_LOCATION = new Location("") {
        {
            setLatitude(47.6097);
            setLongitude(-122.3331);

From source file pk.development.sms.detection.CellSniffer.java

/**
 * Created by Paul Kinsella on 27/10/2016.
 *
 * This Singleton class gathers Cell data and Gps data that the Sniffer class
 * accesses when it detects a silent sms.
 *

From source file com.pansapiens.occyd.MapResults.java

public class MapResults extends MapActivity implements LocationListener {
    private MyLocationOverlay mMyLocationOverlay;
    private MapView map;
    LocationManager locationManager;

    @Override

From source file pk.development.sms.enums.detection.CellSniffer.java

/**
 * Created by Paul Kinsella on 27/10/2016.
 *
 * This Singleton class gathers Cell data and Gps data that the Sniffer class
 * accesses when it detects a silent sms.
 *

From source file com.example.scandevice.MainActivity.java

public class MainActivity extends CordovaActivity implements LocationListener {
    public DBHelper w_dbManager, b_dbManager;
    private static Context context;

    private final int wifiDB = 1;
    private final int bteDB = 2;