Why geolocation services on device is hard to get the coords?
I start the gps services and wifi services on my device
but it has got nothing.
see on my capture screen
.png?1410920052]
thanks
Why geolocation services on device is hard to get the coords?
I start the gps services and wifi services on my device
but it has got nothing.
see on my capture screen
.png?1410920052]
thanks
Have you got any console errors on browser?
nope sir. there is not any error on browser test.
Hi Adith,
GPS service could get location in aprox 15min at first time. So you should:
1 Set timeout to 900000 (15m). http://prntscr.com/4nkqvi/direct
2 Add Success event handler to geolocation service with following code:
pre
alert("success");
/pre
3 Add Success event handler to geolocation service with following code:
pre
alert("FAIL");
var failText = JSON.stringify(arguments);
Appery("mobilelabel_5").text(failText);
alert("AFTER FAIL");
/pre
Then run in on device and see for the alerts.
Regards.
yurii,
what is 'arguments' parameter for?
and when i try your code, there is a fail. which is mean it still cannot retrieve the coords
HI Adith, what is alert after "fail" says? Can you make screen shot?