Page 1 of 1

gps(open) function is not working android v5.5 and v6.0

Posted: November 13th, 2017, 3:08 am
by Enkhbayar
in CSPro-7, gps(open) function is not working android v5.5 and v6.0, return value is 0. GPS function is enabled both devices. Is it bug? does anyone have any idea how to solve it?

but it works when we tried on the device with has android v.7

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 13th, 2017, 5:57 am
by josh
GPS is working fine for me in CSPro 7 on Android 6. Are you sure the device you are testing on has a working GPS?

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 15th, 2017, 4:27 am
by Enkhbayar
Thanks Josh, you were right. it was hw issue.

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 17th, 2017, 10:24 am
by diaznhugo
Cspro 7 gps location work on android 7?

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 17th, 2017, 12:43 pm
by josh
I have used GPS in CSPro it on just about every version of Android 4.2, 4.2, 5.0, 6.0, 7.0, 8.0.

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 17th, 2017, 1:48 pm
by diaznhugo
Hi Josh, I have a Samsung Tablet with Android 6.0 and 7.0 and dont work the gps correctly. How i can test if the Cspro is not compatible with the hw.

Because with google maps work fine the gps.

Find GPS Coordenate
Screenshot_20171117-124825.png
Screenshot_20171117-124825.png (116.49 KiB) Viewed 7326 times
GPS error!
Screenshot_20171117-124843.png
Screenshot_20171117-124843.png (77.46 KiB) Viewed 7326 times
Thanks

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 17th, 2017, 3:45 pm
by jfigueroa
Hi diaznhugo,

Solo para estar seguros, prueba colocar el idioma del dispositivo en Ingles (Estados Unidos) e intenta obtener la lectura GPS nuevamente.
Asegurate de estar completamente en el exterior, y no en el interior de un edificio, por ejemplo.
Tal vez eso pueda ayudar a que obtengas la lectura.

Just to make sure, try setting up the device language to English (US), and then try to get GPS reading again.
Also, when you do it, make sure that you are completely outside, not inside a building for example, cause that may cause bit of troubles.
Hope that it would help.

Saludos.
Regards.

Re: gps(open) function is not working android v5.5 and v6.0

Posted: November 19th, 2017, 7:13 am
by josh
As Joshua said, it is important to be outside in clear view of the sky. Google maps uses a combination of GPS hardware, cell towers and wifi signals to compute a location which means it can work inside even when the GPS satellites are not reachable. CSPro uses only the GPS satellites. This gives a more precise location but means that you need to be able to connect to the satellites. Also you way want to increase the timeout on the GPS read. Try setting it to 5 minutes and see if that works. I have found that sometimes it takes a while the first time and after that I can decrease the timeout to 30 seconds or a minute.