Example usage for android.location GpsStatus.NmeaListener interface-usage

List of usage examples for android.location GpsStatus.NmeaListener interface-usage

Introduction

In this page you can find the example usage for android.location GpsStatus.NmeaListener interface-usage.

Usage

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 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);