I cannot access current location via GPS in indoor in my application in android because the GPS signal is weak in indoor. But Google map in android access the current location very fine using GPS in indoor. What should I do inorder to access my current location using GPS in android in indoor ?
GPS is generally bad indoors so you cannot rely on it. Try getting the location via wifi location. Which can be very accurate
You do this like so
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);
Take a look at this guide
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.