Page 1 of 1

retrieve a GPS position

Posted: Wed Jul 07, 2021 12:20 pm
by fouednoomen
Good morning all,
I want to know how I can retrieve a GPS position through a laptop of a commercial agent to update the gps position and the address of a customer.
thank you in advance.

Re: retrieve a GPS position

Posted: Sat Jul 10, 2021 7:58 am
by serge_girard
Hi Foued,

Maybe Jimmy (Auge) or Daniel Maximilliano or Edward (EDK) has an idea about GPS tracking etc?

Serge

Re: retrieve a GPS position

Posted: Sat Jul 10, 2021 6:30 pm
by fouednoomen
I have already entered into a private discussion with Daniel but he has no solution for the moment.
any help please.

Re: retrieve a GPS position

Posted: Sat Jul 10, 2021 7:02 pm
by fouednoomen
Hi serge ,

Hello serge, I just came across this link, it could be useful for us as a start.
Can you see with me

http://www.pctoledo.com.br/forum/viewto ... ps#p105657

Re: retrieve a GPS position

Posted: Sat Jul 10, 2021 7:23 pm
by andyglezl
Maybe...
https://support.microsoft.com/en-us/win ... 5ca1c49088


GPS coordinates are available only on mobile browsers. What you are discussing is geolocation generally. Your dekstop or laptop computer does not have GPS device. Locations are expressed in latitude and longitude.

For iOS use iOS emulator. You can set fake GPS coordinates. You can download it from developer.apple.com.

For Android use Android emulator. You can set fake GPS coordinates. Google Android SDK.

For other browsers / mobile vendors download the corresponding emuator.

Desktop browsers do not use GPS data. They use either IP based or WLAN based locationing. For desktop browsers just write your own test stub for navigator.geolocation.

Re: retrieve a GPS position

Posted: Sun Jul 11, 2021 12:57 am
by AUGE_OHR
hi,

i do not have GPS "build-in" so i can“t talk about it

i do have a external GPS-Tracker which connect via Bluetooth.
it use a "virtual" COM Port 5 with NMEA Protocol

i use it with (old Version) of M$ Mappoint
it does have a ActiveX Interface to get/set GPS longitude/latitude

you can search for a ActiveX which give you GPS Coordinate using NMEA Protocol

---

most i found are using Java-Script and "ask" Internet for "GetPosition" which is not real GPS.
while Consumer GPS is 10 m it will be about 100 m with "GetPosition"

as i understand it use 1st Internet Point, where you are connect to, which can be identify by "GetPosition"
that seems to be used by Browser to identify your Location and did not work with VPN

---

using "build-in" Hardware like Camera or GPS seems using DotNet only ( for Windows Apps )

it "seems" easy to use "build-in" Hardware with Android and OT LIB
https://forums.fivetechsupport.com/view ... 0&p=177502
> Fivetouch can use GPS, accelerometer, altimeter, camera and other on smartphones?

Yes (conceptually).
Tested OK: QCamera : Example : /addons/hbqtwidgets/tests/camera.hbp [ included in HbQt ]
Tested OK: GPS : Example - embedded : addons/hbqtwidgets/tests/demovisualizer.hbp : Lib - QtPositioning [ included in HbQt ]
Not Tested: Sensors : Lib - QtSensors [ included in HbQt ]

HbQt contains all Qt libraries with almost all classes and methods.
... QT LIB can be used with HMG ... c:\hmg.3.4.4\HARBOUR\contrib\hbqt\ ... but it is a older Version ... have not test it yet