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

Check and prompt user to enable GPS

3 Answers 122 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeena
Top achievements
Rank 1
Jeena asked on 19 Apr 2013, 08:16 AM
Hi,

I wanted to prompt the user if the GPS is not activated in  their phone.I have seen a article below and it says to access the setting of the 
phone using the code.

http://android-er.blogspot.in/2010/10/check-and-prompt-user-to-enable-gps.html

How can Implement this in Icenium( cross-platform Apache Cordova project) ?




Thanks,
Jeena

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Apr 2013, 12:08 PM
Hi Jeena,

At this time, Cordova API does not expose a way to invoke intents, nor the Geolocation API allows for such a prompt. There is a custom plug-in that handles this but Icenium does not support it at the moment. The good news is that we're currently working on support for generic Cordova plug-ins and this would be available for subsequent version of the product.

All the best,
Steve
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.
0
Jeena
Top achievements
Rank 1
answered on 22 Apr 2013, 08:56 AM
Steve,

Thank you for the reply!!

Do  you have any other suggestions,which helps to me do with functionality?My application's some areas
depends on GPS and i wanted make sure its on ,if not user will get  a wrong result.



Thanks,
Jeena
0
Steve
Telerik team
answered on 22 Apr 2013, 10:46 AM
Hi Jeena,

No, there is nothing that can be done at this stage, otherwise I would have suggested it in previous reply. In fact our geolocation example does not check whether GPS is on either due to the same reason.

All the best,
Steve
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
Apache Cordova
Asked by
Jeena
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jeena
Top achievements
Rank 1
Share this question
or