FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Location
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Location
Posted: Sun Feb 02, 2014 03:31 AM

Hi All

Is there away for a fivewin application to know the location of the device the application is running on.

Cheers

Colin

Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: Location
Posted: Sun Feb 02, 2014 05:18 PM
Colin:

Do you mean?

Code (fw): Select all Collapse
MsgInfo( DISKNAME() )
MsgInfo( CURDIR() )
MsgInfo( DISKNAME() + ":\" + CURDIR() )


Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Location
Posted: Mon Feb 03, 2014 12:26 AM

Hi Armando

No I am looking for some way of getting the latitude and longitude/location of the device.

Cheers

Colin

Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: Location
Posted: Mon Feb 03, 2014 03:46 AM

Colin:

Ohh, I can´t help you, sorry.

Regards

SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Location
Posted: Mon Feb 03, 2014 09:42 AM

found this piece of code in Google.
This made ​​in PHP and Google Maps

http://ivanargulo.wordpress.com/2012/02 ... ogle-maps/

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Location
Posted: Mon Feb 03, 2014 11:48 AM

HI Cristobal

I think that code requires you to input the location and it returns the longitude and latitude - I would like the
location - like a mobile phone displays its current location on a map.

Thanks for your help.

Regards

Colin

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Location
Posted: Mon Feb 03, 2014 01:47 PM

Colin

There are ways to interrogate your machines IP Domain host Address issued by the Internet Service provider .. Here is a website that can give you your lat long based on your IP ..

http://www.liveipmap.com/ipinformation

As far a cell location, I believe that is triangulated based on the proximity of the cell towers or a GPS chip in the device.

Rick Lipkin

Continue the discussion