public void initLocationProvider() { if (GoogleServiceLocationProvider.isAvailable()) { LocationProvider.getInstance().init(new GoogleServiceLocationProvider()); } else { LocationProvider.getInstance().init(new AndroidNativeLocationProvider()); } }
public void resetLocationProviderByRawGps() { LocationProvider.getInstance().stop(); LocationProvider.getInstance().init(new AndroidNativeLocationProvider()); }