Software Archive
Read-only legacy content
17061 Discussions

Ayuda Geolocalizacon

Seba_N_1
Beginner
897 Views

Probe este ejemplo de geolocalizacion https://software.intel.com/en-us/html5/articles/intel-xdk-geolocation-sample#comment-1828357 ;en el emulador del intel y tengo un problema.

 

Cuando lo pruebo con un iphone funciona correctamente pero cuando lo pruebo con un samsung(android) no me funciona por favor alguien puede decirme cual es la solucion?

 

Muchas gracias

0 Kudos
4 Replies
PaulF_IntelCorp
Employee
897 Views
0 Kudos
Seba_N_1
Beginner
897 Views

in this example the result is geo.locate(): onFail

 

17:22:19.894 geo.locate(): geoError(3): Timeout expired
17:22:20.407 geo.locate(): onFail
17:22:20.407 geo.locate(): geoError(3): Timeout expired
17:22:22.069 geo.btnGeo(): onFail
17:22:22.070 geo.btnGeo(): geoError(3): Timeout expired
17:22:25.715 geo.locate(): onFail
17:22:25.718 geo.locate(): geoError(3): Timeout expired
17:22:34.198 geo.btnGeo(): onFail
17:22:34.199 geo.btnGeo(): geoError(3): Timeout expired

 

 

 

 

 

 

0 Kudos
PaulF_IntelCorp
Employee
897 Views

Have you enabled the geolocate hardware on that device? Android devices allow you to disable geo. Also, some Android devices do not have geolocation hardware... Do you have another device to work with, just as a test?

Are you able to make the app work in the Emulate tab? Use an iOS device when in the Emulate tab, the way the Emulate tab works with Android device geo is goofy, for demonstration of that app it works better with an iPhone device (when using the Emulate tab).

0 Kudos
Seba_N_1
Beginner
897 Views

Yes i´m enabled the geo in device.  

An IOS device works good but not in android

0 Kudos
Reply