Skip to content Skip to sidebar Skip to footer

Android Runtime Gps Location - Blackberry Device - Not Working

My app has been ported from Android to blackberry and it works fine... the only thing not working is the GPS location which works on the android.... the app displays a message to t

Solution 1:

There was previously a bug where LocationManager.NETWORK_PROVIDER returned null, which may still be returned by the locationManager.getBestProvider() method. This should be fixed in the newer OS builds, however.

If you'd like to fix your code immediately, all you would need to do would be to set:

provider = LocationManager.GPS_PROVIDER

as in the early stages, GPS_PROVIDER was the only provider that was implemented in the player.

Post a Comment for "Android Runtime Gps Location - Blackberry Device - Not Working"