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 kn.uni.gis.foxhunt.GameActivity.java

public class GameActivity extends Activity implements SensorEventListener, LocationListener {

    private static final int FOX_TIMEOUT = 1000 * 60 * 2;
    private static final int BUFFER_SIZE = 20;

    private static final int DEFAULT_TIME = 3000;

From source file carsharing.starter.automotive.iot.ibm.com.mobilestarterapp.Home.CarBrowse.java

public class CarBrowse extends Fragment implements OnMapReadyCallback, LocationListener {
    private GoogleMap mMap;
    private GoogleApiClient client;

    final String[] pickerData = { "Current Location", "Tokyo, Japan", "MGM Grand, Las Vegas",
            "Mandalay Bay, Las Vegas", "Hellabrunn Zoo, Munich, Germany", "Nymphenburg Palace, Munich, Germany" };

From source file net.digitalphantom.app.weatherapp.WeatherActivity.java

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

    public static int GET_WEATHER_FROM_CURRENT_LOCATION = 0x00001;

    private ImageView weatherIconImageView;

From source file cz.suhail.rainyday.MainActivity.java

public class MainActivity extends AppCompatActivity implements LocationListener {
    private static final int MY_PERMISSIONS_ACCESS_FINE_LOCATION = 1;
    Typeface weatherFont;
    Weather todayWeather = new Weather();

    TextView todayTemperature;

From source file cz.martykan.forecastie.MainActivity.java

public class MainActivity extends AppCompatActivity implements LocationListener {
    private static final int MY_PERMISSIONS_ACCESS_FINE_LOCATION = 1;
    Typeface weatherFont;
    Weather todayWeather = new Weather();

    TextView todayTemperature;

From source file com.inloc.dr.StepService.java

/**
 * This is an example of implementing an application service that runs locally
 * in the same process as the application.  The {@link StepServiceController}
 * and {@link StepServiceBinding} classes show how to interact with the
 * service.
 *

From source file net.line2soft.preambul.controllers.SlippyMapListener.java

/**
 * This class reacts to events in {@link SlippyMapActivity}
 * @author quipe A (Projet Rand'OSM) - Stphane COATHALEM, Mathieu LUCAS, Adrien PAVIE, Alexis SCOLAN
 */
public class SlippyMapListener implements LocationListener, OnClickListener, ViewPager.OnPageChangeListener,
        SensorEventListener, OnTouchListener {

From source file org.notfunnynerd.opencoinmap.MapActivity.java

public class MapActivity extends FragmentActivity implements LocationListener {

    private GoogleMap mMap;
    private PlacesDataSource datasource;
    private HashMap<Marker, Place> markerMap;
    private ArrayList<Filter> filterList;

From source file biz.bokhorst.bpt.BPTService.java

public class BPTService extends IntentService
        implements LocationListener, GpsStatus.Listener, GoogleApiClient.ConnectionCallbacks {
    // Messages
    public static final int MSG_REPLY = 1;
    public static final int MSG_WAYPOINT = 2;

From source file com.jesjimher.bicipalma.MesProperesActivity.java

public class MesProperesActivity extends Activity implements LocationListener, DialogInterface.OnDismissListener,
        SharedPreferences.OnSharedPreferenceChangeListener, AdapterView.OnItemClickListener,
        AdapterView.OnItemLongClickListener {
    LocationManager locationManager;
    Location lBest = null;
    // Tiempo inicial de bsqueda de ubicacin