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.
29 lines
575 B
Java
29 lines
575 B
Java
2 years ago
|
package com.xypower.mpapp;
|
||
2 years ago
|
|
||
|
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() {
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|