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.airg.android.permission.sample.DangerousFragment.java

/**
 * A simple {@link Fragment} subclass. The ugliest in existence. Not even banks write UI this ugly.
 * I challenge you to write a fragment uglier than this beast.
 */
public class DangerousFragment extends Fragment
        implements LoaderManager.LoaderCallbacks<Cursor>, LocationListener, PermissionHandlerClient {

From source file com.metinkale.prayerapp.compass.Main.java

@SuppressWarnings("MissingPermission")
public class Main extends BaseActivity implements LocationListener, RotationUpdateDelegate {

    private static double mQAngle;
    private static float mDist;
    public MagAccelListener mMagAccel;

From source file com.metinkale.prayerapp.vakit.AddCity.java

public class AddCity extends BaseActivity
        implements OnItemClickListener, OnQueryTextListener, LocationListener, OnClickListener {
    private MyAdapter mAdapter;
    private FloatingActionButton mFab;
    private MenuItem mSearchItem;

From source file com.tritop.androsense2.fragments.GpsFragment.java

public class GpsFragment extends Fragment
        implements LocationListener, Listener, SensorEventListener, OnClickListener {

    public static final String SENSORTYPE = "GPS";
    public static final String SAT_PNR_KEY = "PNR";
    public static final String SAT_FIX_KEY = "FIX";

From source file de.grundid.plusrad.recording.RecordingService.java

@SuppressWarnings("MissingPermission")
public class RecordingService extends Service implements LocationListener, GoogleApiClient.ConnectionCallbacks,
        GoogleApiClient.OnConnectionFailedListener {

    public final static int STATE_IDLE = 0;
    public final static int STATE_RECORDING = 1;

From source file com.cmput301w17t07.moody.CreateMoodActivity.java

/**
 * The CreateMoodActivity is used for  handling the user interface
 * logic for when a user is creating a mood.
 */

public class CreateMoodActivity extends BarMenuActivity implements LocationListener {

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

public class EventListFragment extends ListFragment
        implements LoaderManager.LoaderCallbacks<EventsLoader.EventsLoaderResult>, LocationListener {
    private static final String TAG = "EventListFragment";
    private static final String PROG_DIALOG_TAG = "prog_dialog";
    private static final String EVENT_JOIN_FAIL_TAG = "prog_dialog";
    private static final String LOCATION_EXTRA = "location";

From source file io.kristal.locationplugin.LocationPlugin.java

public final class LocationPlugin extends CobaltAbstractPlugin
        implements LocationListener, ActivityCompat.OnRequestPermissionsResultCallback {

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

From source file org.broeuschmeul.android.gps.usb.provider.driver.USBGpsProviderService.java

/**
 * A Service used to replace Android internal GPS with a USB GPS and/or write GPS NMEA data in a File.
 *
 * @author Herbert von Broeuschmeul &
 * @author Oliver Bell
 */

From source file org.akvo.flow.ui.fragment.SurveyedLocaleListFragment.java

public class SurveyedLocaleListFragment extends ListFragment
        implements LocationListener, OnItemClickListener, LoaderCallbacks<Cursor>, OrderByDialogListener {
    private static final String TAG = SurveyedLocaleListFragment.class.getSimpleName();

    private LocationManager mLocationManager;
    private double mLatitude = 0.0d;