Page 1 of 3

Geolocation not working on mobile phone...but on browser

Posted: Sat Feb 01, 2014 9:44 am
by Ankur Wadhawan

I have already gone through the following posts on this forum...and have done the necessary.. that is

-these services are on
ACCESS_COARSE_LOCATION
ACCESS_FINE_LOCATION
ACCESS_LOCATION_EXTRA_COMMANDS

  • https://getsatisfaction.com/apperyio/...
    that gps is switched 'on' the my phone and services are called...

    Please let me know what am i doing wrong...It would be also great to know how to get the coordinates when the GPS is not switched on..that is the phone gets location from the cell tower....


Geolocation not working on mobile phone...but on browser

Posted: Sat Feb 01, 2014 10:37 am
by Alena Prykhodko

Hello Ankur,

Please show us how you set up Geolocation Service.
On what Event do you invoke it?
Do you get any error when testing on device?


Geolocation not working on mobile phone...but on browser

Posted: Sat Feb 01, 2014 11:15 am
by Alena Prykhodko

Also please specify your device and OS version.


Geolocation not working on mobile phone...but on browser

Posted: Sat Feb 01, 2014 11:17 am
by Ankur Wadhawan

Here are the screenshots i have done the mapping and i am invoking the service

the code works fine in a browser however not on the phone... and my gps service on the phone is switched 'on'
Image

Image


Geolocation not working on mobile phone...but on browser

Posted: Sat Feb 01, 2014 11:59 am
by Ankur Wadhawan

using samsung note 2 OS 4.1.2


Geolocation not working on mobile phone...but on browser

Posted: Sat Feb 01, 2014 4:15 pm
by Igor

Hello,

Sorry, but yesterday I tested your app on Android device and in browser. I replied that it was working for me: https://getsatisfaction.com/apperyio/...

Did you change Geolocation code since yesterday?


Geolocation not working on mobile phone...but on browser

Posted: Sun Feb 02, 2014 10:47 am
by Ankur Wadhawan

No the geolocation code has not been changed... on iphone the application is working and getting coordinates however on samsung note 2 and os 4.1.2 it is not.. can u check the reason


Geolocation not working on mobile phone...but on browser

Posted: Mon Feb 03, 2014 1:39 pm
by Kateryna Grynko

Hi Ankur,

Could you please check your device settings? It works for us.


Geolocation not working on mobile phone...but on browser

Posted: Fri Feb 07, 2014 10:48 am
by Ankur Wadhawan

So I have checked my device settings as well (and made sure GPS is switched on). All other applications such as google maps is showing me my current location. With or without the GPS switched on the current location of the user should be shown. When I say without the gps switched on , the phone reflects coordinates of the nearest wireless tower, that is how google maps works as well.

But the application is not showing coordinates with either gps swtiched on or off.. this is only applicable in android samsung note 2..I haven't tried other android devices.. the application works in iphone.


Geolocation not working on mobile phone...but on browser

Posted: Fri Feb 07, 2014 12:27 pm
by Kateryna Grynko

Hi Ankur,

Could you please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?