Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get Geo Location where my app is running?
Message
 
À
01/10/2015 05:30:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01625294
Message ID:
01625353
Vues:
124
Most browsers support geo location APIs that provide reasonably accurate geo location data even when you're not connected. The way this works is when you connect with a phone through the same router, that geo location is co-related with that of non-GPS devices and a best guess is made from there.

The easiest way to capture this from a FoxPro app is to a use a Web browser control and run some JavaScript using the GeoLocation() API to grab the current location.

Or you can call Google APIs via plain HTTP calls to a service but that will cost you eventually if you have frequent access.

+++ Rick ---


>Hi Experts,
>
>I would like to get the geo location of where my desktop app is running from. It is an app being using in different locations.
>
>Is this possible?
>
>Kinda like when you go to maps.google.com, it defaults to show where you are.
>
>I would want that upon user logs in, it also logs the longitude and latitude of the workstation.
>
>Thanks for any attention and help!
>
>Love live the Fox!
>
>Dennis
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform