Check and prompt user to enable GPS

4 posts, 0 answers
  1. Jeena
    Jeena avatar
    3 posts
    Member since:
    Apr 2013

    Posted 19 Apr 2013 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 19 Apr 2013 Link to this post

    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.
  3. Jeena
    Jeena avatar
    3 posts
    Member since:
    Apr 2013

    Posted 22 Apr 2013 Link to this post

    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
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Apr 2013 Link to this post

    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.
Back to Top