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.swetha.easypark.GetParkingLots.java

/**
 * This class allows the user to set the duration of parking and get the parking lots data
 * It also has a menu in it which allows the user to view or insert the free parkinglot data
 */

public class GetParkingLots extends FragmentActivity implements LocationListener, DateWatcher {

From source file name.gumartinm.weather.information.activity.MapActivity.java

public class MapActivity extends FragmentActivity implements LocationListener, MapProgressFragment.TaskCallbacks {
    private static final String PROGRESS_FRAGMENT_TAG = "PROGRESS_FRAGMENT";
    private static final String BUTTONS_FRAGMENT_TAG = "BUTTONS_FRAGMENT";
    private WeatherLocation mRestoreUI;

    // Google Play Services Map

From source file org.klnusbaum.udj.PlayerListFragment.java

public class PlayerListFragment extends PullToRefreshListFragment
        implements LoaderManager.LoaderCallbacks<PlayersLoader.PlayersLoaderResult>, LocationListener,
        OnRefreshListener<ListView> {
    public enum SearchType {
        LOCATION_SEARCH, NAME_SEARCH
    }

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

/**
 * Version of the GeoShapeGoogleMapActivity that uses the new Maps v2 API and Fragments to enable
 * specifying a location via placing a tracker on a map.
 *
 * @author jonnordling@gmail.com
 */

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

/**
 * Version of the GeoPointMapActivity that uses the new Maps v2 API and Fragments to enable
 * specifying a location via placing a tracker on a map.
 *
 * @author guisalmon@gmail.com
 * @author jonnordling@gmail.com

From source file com.alexandreroman.nrelay.NmeaRelayService.java

public class NmeaRelayService extends Service
        implements GpsStatus.NmeaListener, GpsStatus.Listener, LocationListener {
    private static final SparseIntArray STR_STATES = new SparseIntArray(4);
    static {
        STR_STATES.put(State.STARTING.ordinal(), R.string.notif_starting);
        STR_STATES.put(State.GPS_DISABLED.ordinal(), R.string.notif_gps_disabled);

From source file com.hufeiya.SignIn.activity.QuizActivity.java

public class QuizActivity extends AppCompatActivity
        implements LocationListener, CameraPreviewfFragment.OnRecognizedFaceListener {

    private static final String QI_NIU_DOMAIN = "http://7xp62n.com1.z0.glb.clouddn.com/";//the domain to save the photo on Qi Niu
    private static final String TAG = "QuizActivity";
    private static final String IMAGE_CATEGORY = "image_category_";

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

/**
 * Version of the GeoPointMapActivity that uses the new OSMDDroid
 *
 * @author jonnordling@gmail.com
 */
public class GeoPointOsmMapActivity extends FragmentActivity

From source file org.runnerup.gpstracker.GpsTracker.java

/**
 * GpsTracker - this class tracks Location updates
 * 
 * @author jonas.oreland@gmail.com
 */

From source file com.sitewhere.android.example.ExampleFragment.java

/**
 * Fragment that implements example application.
 *
 * @author Derek
 */
public class ExampleFragment extends MapFragment