Page 1 of 1

Debuging on android device

Posted: Mon Sep 01, 2014 10:42 am
by Achmad Syaiful Bahri

Hi,

I'm new in this. I've created an app that executes geo location. The geo location services is run smooth when I tested on web debuger(mobile preview), but when I tried to run the app on android device, why the geo location service cannot recognize the location of the device and the gps on android is on?


Debuging on android device

Posted: Mon Sep 01, 2014 11:14 am
by obullei

Hello!

You can debug it using Weinre:
http://devcenter.appery.io/documentat...


Debuging on android device

Posted: Tue Sep 02, 2014 6:58 am
by Achmad Syaiful Bahri

Hi Ariana, thank you for your answer

I've tried use Wienre but it seems the geolocation service still not run on android devices. I tried on different devices with different version of OS and I still can't get the location of the device.

Regards,
Bahri


Debuging on android device

Posted: Wed Sep 03, 2014 12:24 pm
by Maryna Brodina

Hello!

Please post a screenshot of your geolocation service settings.


Debuging on android device

Posted: Thu Sep 04, 2014 1:33 am
by Achmad Syaiful Bahri

these are my geoloc data mapping
Image

Image


Debuging on android device

Posted: Thu Sep 04, 2014 11:21 pm
by Yurii Orishchuk

Hi Achmad,

You have 5000(5s) value in timeout request field. That means if GPS location service for this time not gives coordinates service will trigger an error. So you should increase this value. Set 540000 value.

See details: http://prntscr.com/4jr0vf/direct

Regards.