GPS issues on phonegap(ver>=3.00) in android.

4 posts, 0 answers
  1. Maor
    Maor avatar
    50 posts
    Member since:
    Dec 2012

    Posted 02 Jan 2014 Link to this post

    hi guys,
    i am using icenium to build app that based on location. 
    when deploying it to ios, it find my location immediately but when deploying it to android devices such samsung galaxy s1&s2 it falis to trace my position. i set the watchPosition options to timeout=60secs and enable high accuracy and even when tweaking this options i cant get my location on android.
    first i thoght it was my sgs2 device but than i bump into that: https://issues.apache.org/jira/browse/CB-4521 
    is there is anything you can recommend me to do?
    how can i solve this problem?
    thanks maor
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Jan 2014 Link to this post

    Hello Maor,

    Android devices always require GPS satellite in order to get location and there is nothing we can do to alter this on our end. Starting manually the GPS on the device and making sure it has satellite visibility and it has locked to satellites should result in success.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Maor
    Maor avatar
    50 posts
    Member since:
    Dec 2012

    Posted 07 Jan 2014 Link to this post

    hi steve'
    thanks for your answer.
    i got to tell you: this is annoying bug on android. did you know about icenium plugin which get my current position same as in ios? so when i fire getCurrentPosition it will give me the best location results from network or gps.
    regards
    maor
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 07 Jan 2014 Link to this post

    Hello Maor,

    Geolocation is one of the built-in core APIs of Cordova, so if it does not function per expectations, it is highly unlikely there is (will be) a custom Cordova plugin that does things better. If you manage to find such, please share it with the community.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top