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 org.borderstone.tagtags.TTProtocolActivity.java

public class TTProtocolActivity extends AppCompatActivity implements PageJumpListener, WidgetRequestListener,
        CompoundButton.OnCheckedChangeListener, View.OnClickListener, TTClientListener, OnServerSelectedListener,
        LocationListener, View.OnLongClickListener {
    private BMultiColumnLayout widgetLayout = null;
    private LinearLayout mDrawerList = null;
    private ScrollView sv = null;

From source file com.nextgis.maplibui.service.TrackerService.java

public class TrackerService extends Service implements LocationListener, GpsStatus.Listener {
    public static final String TEMP_PREFERENCES = "tracks_temp";
    private static final String TRACK_URI = "track_uri";
    public static final String ACTION_STOP = "com.nextgis.maplibui.TRACK_STOP";
    private static final String ACTION_SPLIT = "com.nextgis.maplibui.TRACK_SPLIT";
    private static final int TRACK_NOTIFICATION_ID = 1;

From source file com.eeshana.icstories.activities.UploadVideoActivity.java

public class UploadVideoActivity extends Activity implements OnClickListener, LocationListener {
    int width, height;
    ImageView logoImageView;
    ProgressDialog mProgressDialog;
    String userid, videoPath, title, description, flag, regId, status;
    Button uploadButton, isAssignmentButton;

From source file com.shadowmaps.example.GpsTestActivity.java

public class GpsTestActivity extends SherlockFragmentActivity
        implements LocationListener, GpsStatus.Listener, ActionBar.TabListener, SensorEventListener {

    protected void onStart() {
        super.onStart();
    }

From source file carsharing.starter.automotive.iot.ibm.com.mobilestarterapp.AnalyzeMyDriving.java

public class AnalyzeMyDriving extends Fragment implements OnMapReadyCallback, LocationListener {
    protected static boolean behaviorDemo = false;
    protected static boolean needCredentials = false;

    protected static String tripID = null;
    protected static String deviceID = FirstPage.mobileAppDeviceId;

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

/**
 * Version of the GeoTraceMapActivity 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 cz.suhail.Rainyday.activities.MainActivity.java

public class MainActivity extends AppCompatActivity implements LocationListener {
    protected static final int MY_PERMISSIONS_ACCESS_FINE_LOCATION = 1;

    // Time in milliseconds; only reload weather if last update is longer ago than this value
    private static final int NO_UPDATE_REQUIRED_THRESHOLD = 300000;

From source file org.hfoss.posit.android.api.fragment.FindFragment.java

/**
 * A fragment which is used to display a find or used to create a find.
 *
 */
public class FindFragment extends OrmLiteFragment<DbManager>
        implements OnClickListener, OnItemClickListener, LocationListener {

From source file arc.noaa.weather.activities.MainActivity.java

public class MainActivity extends AppCompatActivity implements LocationListener {
    protected static final int MY_PERMISSIONS_ACCESS_FINE_LOCATION = 1;

    // Time in milliseconds; only reload weather if last update is longer ago than this value
    private static final int NO_UPDATE_REQUIRED_THRESHOLD = 300000;

From source file reddy.preetham.forecast.MainActivity.java

public class MainActivity extends AppCompatActivity implements LocationListener {
    private static final int MY_PERMISSIONS_ACCESS_FINE_LOCATION = 1;

    // Time in milliseconds; only reload weather if last update is longer ago than this value
    private static final int NO_UPDATE_REQUIRED_THRESHOLD = 300000;