Page 1 of 1

Avoid/skip GPS on Laptop/computer

Posted: March 16th, 2021, 12:01 pm
by Arjun Brti
Dear all,

When we add the GPS function an application, it seek the GPS coordinates. So, can we avoid/skip the taking GPS coordinates on laptop/computer but not on android? Any logic is there?

Thank you.

-Brti

Re: Avoid/skip GPS on Laptop/computer

Posted: March 16th, 2021, 3:24 pm
by josh
You can use the getos() function to check if you are on Windows or Android and skip the GPS capture if you are on Windows: https://www.csprousers.org/help/CSPro/g ... ction.html

Re: Avoid/skip GPS on Laptop/computer

Posted: March 17th, 2021, 12:52 am
by Arjun Brti
Thank you very much Josh. Its worked.