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 com.wikitude.example.CopyOfSimpleARBrowserActivity.java

/**
 * 
 * @author Wikitude
 * @date   JAN 2012
 * 
 * @class SimpleARBrowserActivity

From source file com.commonsware.android.location.background.LocationPollerService.java

public class LocationPollerService extends Service implements LocationListener {
    static int NOTIFY_ID = 1337;
    private static final String PREF_DELAY = "delay";
    private static final String PREF_FOREGROUND = "foreground";
    private LocationManager mgr;
    private SharedPreferences prefs;

From source file org.mozilla.mozstumbler.service.stumblerthread.scanners.GPSScanner.java

public class GPSScanner implements LocationListener {
    public static final String ACTION_BASE = AppGlobals.ACTION_NAMESPACE + ".GPSScanner.";
    public static final String ACTION_GPS_UPDATED = ACTION_BASE + "GPS_UPDATED";
    public static final String ACTION_ARG_TIME = AppGlobals.ACTION_ARG_TIME;
    public static final String SUBJECT_LOCATION_LOST = "location_lost";
    public static final String SUBJECT_NEW_LOCATION = "new_location";

From source file ca.ualberta.cs.drivr.GPSTracker.java

/**
 * Able to get User Current Location
 * http://stackoverflow.com/questions/1513485/how-do-i-get-the-current-gps-location-programmatically-in-android
 */
public class GPSTracker implements LocationListener {

From source file me.ziccard.secureit.async.upload.PeriodicPositionUploaderTask.java

public class PeriodicPositionUploaderTask extends AsyncTask<Void, Void, Void> implements LocationListener {

    private static final double INVALID_VALUE = Double.MAX_VALUE;

    /**
     * In case 3G and WIFI are turned off we start the upload

From source file com.jmstudios.redmoon.receiver.LocationUpdateListener.java

public class LocationUpdateListener implements LocationListener {
    private static final String TAG = "LocationUpdate";
    private static final boolean DEBUG = false;

    private Context mContext;
    private LocationPreference mPreference;

From source file com.commonsware.android.weather.WeatherFragment.java

public class WeatherFragment extends Fragment implements LocationListener, WeatherListener, ServiceConnection {
    private WebView browser;
    private LocationManager mgr;
    private WeatherBinder weather;
    private String forecast;

From source file com.artur.softwareproject.GpsService.java

/**
 * Created by Martin Kern on 16.05.2017.
 * This service gets the data from the GPS module.
 */

public class GpsService extends Service implements LocationListener, Runnable {

From source file uk.ac.horizon.ubihelper.service.channel.LocationChannel.java

/**
 * @author cmg
 *
 */
public class LocationChannel extends NamedChannel implements LocationListener {

From source file br.com.split.activities.FacebookEscolherLocalActivity.java

public class FacebookEscolherLocalActivity extends FragmentActivity implements LocationListener {
    private static final int PLACE_ACTIVITY = 1;
    private LocationManager locationManager;
    private Location lastKnownLocation;
    private UiLifecycleHelper lifecycleHelper;
    private Location pickPlaceForLocationWhenSessionOpened = null;