1

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 ?

4

1 回答 1

1

GPS在室内通常很糟糕,所以你不能依赖它。尝试通过 wifi 位置获取位置。这可能非常准确

你这样做

locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);

看看这个指南

于 2013-01-11T09:51:57.010 回答