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 org.destil.gpsaveraging.MainActivity.java

public class MainActivity extends SherlockActivity implements LocationListener, OnClickListener, Listener {

    protected static final String GPS = "gps"; // type of location
    private static final String BILLING_ITEMID = "cz.destil.gpsaveraging.full";
    public static boolean isFullVersion = false;

From source file cubes.compass.service.WeatherActivity.java

public class WeatherActivity extends AppCompatActivity
        implements WeatherServiceListener, GeocodingServiceListener, LocationListener {

    private ImageView weatherIconImageView;
    private TextView temperatureTextView;
    private TextView conditionTextView;

From source file polytech.carcassonnetour.MapsActivity.java

public class MapsActivity extends AppCompatActivity implements OnMyLocationButtonClickListener, OnMapReadyCallback,
        ActivityCompat.OnRequestPermissionsResultCallback, LocationListener, GoogleMap.OnMarkerClickListener {

    private static final String URL_ALL_HOTSPOTS = "http://cvisit.gauchoux.com/media/com_carcassonne/ajax/getAllPoints.php";
    private static final int LOCATION_PERMISSION_REQUEST_CODE = 1;
    private static final int ZOOM = 17;

From source file com.nextgis.maplibui.service.WalkEditService.java

/**
 * Service to gather position data during walking
 */
public class WalkEditService extends Service implements LocationListener, GpsStatus.Listener {

    private static final int WALK_NOTIFICATION_ID = 7;

From source file com.tagaugmentedreality.utilties.LocationRetriever.java

public class LocationRetriever implements GooglePlayServicesClient.ConnectionCallbacks,
        GooglePlayServicesClient.OnConnectionFailedListener, LocationListener,
        com.google.android.gms.location.LocationListener {

    private final static int CONNECTION_FAILURE_RESOLUTION_REQUEST = 9000;

From source file com.fabernovel.alertevoirie.ExistingIncidentsActivity.java

public class ExistingIncidentsActivity extends ListActivity implements RequestListener, LocationListener {
    private static final int DIALOG_PROGRESS = 0;
    private final ImageDownloader imageDownloader = new ImageDownloader();
    private ProgressDialog mPd;

    @Override

From source file com.kinvey.samples.citywatch.CityWatch.java

/**
 *
 * @author edwardf
 * @since 2.0
 */
public class CityWatch extends SherlockFragmentActivity implements ActionBar.TabListener, LocationListener {

From source file com.TakeTaxi.jy.MainMapScreen.java

public class MainMapScreen extends MapActivity implements LocationListener {
    /** Called when the activity is first created. */
    private MapView map = null;
    long start;
    long stop;
    int lat, longi, tempLat, tempLongi, selectedDriver, did;

From source file uwp.cs.edu.parkingtracker.MainActivity.java

/**
 * Created by Nate Eisner on 4/14/15.
 */
public class MainActivity extends ActionBarActivity implements LocationListener {
    //variables
    private ProgressBar progress;

From source file com.ptts.fragments.BusLocation.java

public class BusLocation extends SherlockFragmentActivity implements LocationListener, LocationSource {

    GoogleMap mGoogleMap;
    double mLatitude = 0;
    double mLongitude = 0;
    LocationManager locationManager;