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.samknows.measurement.schedule.datacollection.LocationDataCollector.java

public class LocationDataCollector extends BaseDataCollector implements LocationListener {
    private static final long serialVersionUID = 1L;

    private long time;
    private long listenerDelay;
    //   private float listenerMinDst;

From source file it.unipr.informatica.autobusparma.MappaFragment.java

public class MappaFragment extends Fragment implements LocationListener {

    private static final int MAX_PLACES = 20;
    private GoogleMap mMap;
    private Marker userMarker;
    private Marker[] placeMarkers;

From source file com.nextgis.rehacompdemo.RoutingActivity.java

public class RoutingActivity extends AppCompatActivity implements LocationListener {
    private StepAdapter mAdapter;
    private ListView mSteps;
    private String mRoute, mPoints;
    private MapDrawable mMap;
    private MapViewOverlays mMapView;

From source file it.unime.mobility4ckan.MainActivity.java

public class MainActivity extends AppCompatActivity implements LocationListener {

    private static final String TAG = "MainActivity";
    private TextView locationText, countdownText, datasetNameText;
    private Button sendNowBtn;
    private SharedPreferences sharedPref;

From source file net.jongrakko.zipsuri.activity.PostUploadActivity.java

/**
 * Created by MoonJongRak on 2016. 5. 11..
 */
public class PostUploadActivity extends Fragment
        implements View.OnClickListener, CompoundButton.OnCheckedChangeListener, OnMapReadyCallback,
        OnMyLocationButtonClickListener, GoogleMap.OnMapClickListener, LocationListener {

From source file com.marianhello.cordova.bgloc.LocationUpdateService.java

    public class LocationUpdateService extends Service implements LocationListener {
        private static final String TAG = "LocationUpdateService";
        private static final String STATIONARY_REGION_ACTION = "com.marianhello.cordova.bgloc.STATIONARY_REGION_ACTION";
        private static final String STATIONARY_ALARM_ACTION = "com.marianhello.cordova.bgloc.STATIONARY_ALARM_ACTION";
        private static final String SINGLE_LOCATION_UPDATE_ACTION = "com.marianhello.cordova.bgloc.SINGLE_LOCATION_UPDATE_ACTION";
        private static final String STATIONARY_LOCATION_MONITOR_ACTION = "com.marianhello.cordova.bgloc.STATIONARY_LOCATION_MONITOR_ACTION";

From source file eu.geopaparazzi.library.gps.GpsService.java

/**
 * A service to handle the GPS data.
 * <p/>
 * <p/>
 * use this to start and trigger a service</br>
 * <code>Intent i= new Intent(context, GpsService.class)</code>;</br>

From source file jp.gr.java_conf.ya.shiobeforandroid3.UpdateTweetDrive.java

public final class UpdateTweetDrive extends AppCompatActivity implements LocationListener {
    private ListAdapter adapter;
    private boolean startup_flag = true;
    private Dialog alertDialog = null;
    private EditText editText2;
    private EditText editText4;

From source file org.odk.collect.android.activities.GeoTraceOsmMapActivity.java

public class GeoTraceOsmMapActivity extends Activity implements IRegisterReceiver, LocationListener {
    private ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();
    private ScheduledFuture schedulerHandler;
    public int zoomLevel = 3;
    public Boolean gpsStatus = true;
    private Boolean playCheck = false;

From source file com.android.gpstest.GpsTestActivity.java

public class GpsTestActivity extends ActionBarActivity implements LocationListener, GpsStatus.Listener,
        android.support.v7.app.ActionBar.TabListener, SensorEventListener {

    private static final String TAG = "GpsTestActivity";

    private static final int SECONDS_TO_MILLISECONDS = 1000;