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.app.swaedes.swaedes.GPSTracker.java

public class GPSTracker extends Service implements LocationListener {

    private final Context mContext;

    // flag for GPS status
    boolean isGPSEnabled = false;

From source file com.example.firstapp.PlotMapJsonActivity.java

/**
 * @author Kiran Koduru
 */
@SuppressLint("NewApi")
public class PlotMapJsonActivity extends FragmentActivity implements LocationListener, OnMyLocationChangeListener {
    private static final String LOG_TAG = "FirstApp";

From source file at.ac.tuwien.caa.docscan.camera.LocationHandler.java

/**
 * Created by fabian on 17.01.2017.
 */
public class LocationHandler implements LocationListener {

    private static final int TWO_MINUTES = 1000 * 60 * 2;

From source file com.nadmm.airports.LocationListFragmentBase.java

public abstract class LocationListFragmentBase extends ListFragmentBase implements LocationListener {

    private LocationManager mLocationManager;
    private int mRadius;
    private boolean mPermissionDenied = false;
    private boolean mLocationUpdatesEnabled = true;

From source file de.grobox.liberario.ui.LocationInputGPSView.java

public class LocationInputGPSView extends LocationInputView implements LocationListener {

    private LocationManager locationManager;
    private boolean searching = false;
    private Location gps_location = null;
    private int caller;

From source file com.mruddy.devdataviewer.SensorFragment.java

public class SensorFragment extends Fragment implements SensorEventListener, LocationListener {
    private TextView accelerometerTextView;
    private TextView gpsTextView;
    private SensorManager sensorManager;
    private LocationManager locationManager;

From source file com.dat255.ht13.grupp23.view.MapView.java

/**
 * Class representing the View in the applications main MVC. Contains the
 * GoogleMap and draws items on it
 * 
 * @copyright (c) 2013 Kim Egenvall, Carl Fredriksson, Jonas Ha, Johan Wallander, Timocin Zaynal,Josef Haddad
 * @license MIT

From source file com.github.tdudziak.gps_lock_lock.LockService.java

/***
 * <p>A service that implements the main gps-locking functionality of the application.
 * This service does not support binding but communicates with the rest of the application
 * by handling several controlling intents and broadcasting {@link #ACTION_UI_UPDATE}
 * with status updates.</p>
 *

From source file com.crowdpp.nagisa.crowdpp2.util.LocationTracker.java

/**
 * LocationTracker class
 * @author Chenren Xu
 */
public class LocationTracker implements LocationListener {

From source file com.guidewithme.ArticleInfoListFragment.java

/**
 * A list fragment representing a list of ArticleInfos. This fragment also
 * supports tablet devices by allowing list items to be given an 'activated'
 * state upon selection. This helps indicate which item is currently being
 * viewed in a {@link ArticleInfoDetailFragment}.
 * <p>