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 mx.itchetumal.sensado_urbano.MainMapas.java

public class MainMapas extends Activity
        implements OnMapClickListener, OnMapLongClickListener, OnMarkerClickListener, LocationListener {
    final int RQS_GooglePlayServices = 1;
    private GoogleMap map;

    Location myLoc;

From source file com.yammy.meter.MainActivity.java

public class MainActivity extends FragmentActivity implements LocationListener {
    GoogleMap map;
    private LocationManager locationManager;
    LatLng user_pos;
    TextView lat, longi, nopol, jarak;
    Button start, stop, reset;

From source file com.commonsware.android.mapsv2.location.MainActivity.java

public class MainActivity extends AbstractMapActivity
        implements OnMapReadyCallback, OnInfoWindowClickListener, LocationSource, LocationListener {
    private static final String STATE_IN_PERMISSION = "inPermission";
    private static final String STATE_AUTO_FOLLOW = "autoFollow";
    private static final int REQUEST_PERMS = 1337;
    private boolean isInPermission = false;

From source file io.github.runassudo.ptoffline.ui.LocationGpsView.java

public class LocationGpsView extends LocationView implements LocationListener {

    private final String SEARCHING = "searching";

    private LocationManager locationManager;
    private LocationGpsListener gpsListener;

From source file com.android2ee.tileprovider.activity.MainActivity.java

/**
 * Main Activity
 * @author florian
 *
 */
public class MainActivity extends ActionBarActivity implements LocationListener, OnCameraChangeListener {

From source file org.wso2.iot.agent.services.location.LocationService.java

/**
 * This class holds the function implementations of the location service.
 */
public class LocationService extends Service implements LocationListener {

    private static final String TAG = LocationService.class.getSimpleName();

From source file org.freedesktop.geoclueshare.LocationService.java

/**
 * <p>
 * {@code LocationService} is responsible for fetching and handling location data from the GPS in
 * the background.
 * </p>
 * FIXME: It's just a dummy class yet. Add functionality.

From source file org.deviceconnect.android.deviceplugin.host.profile.HostGeolocationProfile.java

/**
 * Geolocation Profile.
 * @author NTT DOCOMO, INC.
 */
public class HostGeolocationProfile extends GeolocationProfile implements LocationListener {
    /** LocationManager. */

From source file us.dustinj.locationstore.LocationService.java

public class LocationService extends Service implements LocationListener, HttpStatusResponseHandler {

    private LocationManager m_locationManager;
    private ConnectivityManager m_connectivityManager;
    private LocationDatabase m_locationDatabase;
    private LocationAggregator m_locationAggregator;

From source file com.dycody.android.idealnote.utils.GeocodeHelper.java

public class GeocodeHelper implements LocationListener {

    private static final String LOG_TAG = Constants.TAG;
    private static final String PLACES_API_BASE = "https://maps.googleapis.com/maps/api/place";
    private static final String TYPE_AUTOCOMPLETE = "/autocomplete";
    private static final String OUT_JSON = "/json";