Question

I am using a Kindle Fire 2nd Gen which uses WiFi for it's location services.

The problem is I cannot seem to get this in-app. I am using the LocationManager in the version for Google Play which works fine, but for the Kindle it never returns a location just gets stuck using:

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

Is this because it is a Google service not available for the Kindle? Is there something else I can use.

I am using MapQuest but do not want to display a map overlay of the users location, I just want the current Lat and Long.

Thanks

Was it helpful?

Solution

I don't believe the kindle has a GPS receiver so you cannot use Android LocationManager with it.

You can use the MyLocationOverlay class which is part of the com.amazon.geo.maps package in the Amazon maps API. The FAQ's are decent and provide some good info.

Also, I haven't used it but Skyhook provides a location SDK that might be useful to you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top