You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TermApp/app/src/main/java/com/xypower/mpapp/PositionManager.java

29 lines
575 B
Java

package com.xypower.mpapp;
import android.content.Context;
import android.location.LocationManager;
public class PositionManager {
private static final String GPS_LOCATION_NAME = android.location.LocationManager.GPS_PROVIDER;
private LocationManager mLocationManager;
private boolean mIsGpsEnabled;
private String mLocateType;
private Context mContext;
public PositionManager(Context context) {
mContext = context;
}
public boolean isGpsEnabled() {
return mIsGpsEnabled;
}
public void getLocation() {
}
}