This is a migrated thread and some comments may be shown as answers.

Using GPS-location services in android

1 Answer 105 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joakim
Top achievements
Rank 1
Joakim asked on 08 May 2013, 08:41 AM
Hi. We are developing an application heavily dependant on gps-services. 
We have allowed FineLocation in the Android-permissions tab. Just noticed now that if we disable "Wi-Fi & Mobile network location" in our nexus4, the application will not work as intended, even though the GPS option is selected.

Question is, how do we know if we are using the gps-services and NOT the mobile network location services whilst accessing gps-functions in the application?  

Thank you!
Joakim

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 08 May 2013, 12:22 PM
Hi Joakim,

What you are observing might be an Android quirk. Are you seeing the same behavior when using other applications that rely on the GPS service? Is this reproducible on another Android device? What is the version of the operating system?

Regarding your particular question there is a property to the geolocationOptions - enableHighAccuracy. If this is set to true it will try to use the GPS provider, otherwise it will fallback to the Network provider.


Kind regards,
Stefan Dobrev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
Tags
General Discussion
Asked by
Joakim
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or