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 nu.shout.shout.chat.ChatService.java

public class ChatService extends Service implements IRCListener, LocationListener {
    public class LocalBinder extends Binder {
        public ChatService getService() {
            return ChatService.this;
        }
    }

From source file org.voidsink.anewjkuapp.base.MyLocationOverlay.java

/**
 * A thread-safe {@link Layer} implementation to display the current location. NOTE: This code really does not reflect
 * Android best practice and used in production leads to bad user experience (e.g. long time to first fix, excessive
 * battery use, non-compliance with the Android lifecycle...). Best use the new location services provided by Google
 * Play Services. Also note that MyLocationOverlay needs to be added to a view before requesting location updates
 * (otherwise no DisplayModel is set).

From source file com.example.aximcore.hangyamaps.MapsActivity.java

public class MapsActivity extends FragmentActivity
        // Begin ****************************************
        implements LocationListener
// End ******************************************
{
    // Begin ****************************************

From source file com.geoffreybuttercrumbs.arewethereyet.ZonePicker.java

public class ZonePicker extends SlidingFragmentActivity
        implements LocationListener, GoogleMap.OnCameraChangeListener { //LocationSource,

    private long updateTime = 2000;//90000; // in Milliseconds
    private long updateRange = 25;//1000; // in Meters
    private static final NumberFormat nf = new DecimalFormat("##.###");

From source file com.kentli.cycletrack.RecordingService.java

public class RecordingService extends Service implements LocationListener {
    RecordingActivity recordActivity;
    LocationManager lm = null;
    DbAdapter mDb;

    // Bike bell variables

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

/**
 * Version of the GeoPointMapActivity that uses the new Maps v2 API and Fragments.
 *
 * This is a dumbed-down version of the other map that does not allow hand-placement
 * of the geolocation, but does display that location on the map.
 *

From source file uk.co.spookypeanut.wake_me_at.WakeMeAtService.java

/**
 * The service that watches the current location, and triggers the alarm if
 * required
 * @author spookypeanut
 */
public class WakeMeAtService extends Service implements LocationListener {

From source file mx.developerbus.foodbus.FoodBus_Main.java

public class FoodBus_Main extends FoodBusManager implements LocationListener {

    private ActionBarDrawerToggle mDrawerToggle;
    private DrawerLayout mDrawerLayout;
    private LinearLayout mDrawerLeft;

From source file eu.liveGov.libraries.livegovtoolkit.activities_fragments.MapFragment.java

/**
 * Fragment to show OpenStreet Map with all the items.
 * 
 * @copyright   Copyright (C) 2012 - 2014 Information Technology Institute ITI-CERTH. All rights reserved.
 * @license     GNU Affero General Public License version 3 or later; see LICENSE.txt
 * @author      Dimitrios Ververidis for the Multimedia Group (http://mklab.iti.gr). 

From source file org.iransoil.collect.android.activities.GeoPointMapActivitySdk7.java

public class GeoPointMapActivitySdk7 extends MapActivity implements LocationListener {

    private static final String LOCATION_COUNT = "locationCount";

    private MapView mMapView;
    private TextView mLocationStatus;