maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Community (https://talk.maemo.org/forumdisplay.php?f=16)
-   -   GPS via PHP? (https://talk.maemo.org/showthread.php?t=71532)

hoohead 2011-03-27 09:39

GPS via PHP?
 
Is there a easy way to grab the current GPS Position via shellscript ... (or php5-cli)?

tswindell 2011-03-27 09:53

Re: GPS via PHP?
 
Quote:

Originally Posted by hoohead (Post 976472)
Is there a easy way to grab the current GPS Position via shellscript ... (or php5-cli)?

"easiest" would probably be Python tbh.

Bramji 2011-03-27 11:02

Re: GPS via PHP?
 
I'm in for that too,
how does it work?

mikecomputing 2011-03-27 11:42

Re: GPS via PHP?
 
QtMobility has support for GPS access atleast via C++/Python I know there is develversion for QML(javascript) too:

http://doc.qt.nokia.com/qtmobility-1...-overview.html

Then we have PySide and its QtMobility bindings:

http://developer.qt.nokia.com/wiki/PySideDocumentation/


example code for GPS, using python script, found at theyr GIT repository here:

http://qt.gitorious.org/pyside/pysid...ility/location

azkay 2011-03-27 12:31

Re: GPS via PHP?
 
Are you making a "wheres (wally|waldo) in the real world" page too?

micdel 2011-03-27 19:26

Re: GPS via PHP?
 
Easily with Python :
http://wiki.maemo.org/PyMaemo/Using_Location_API

laasonen 2011-03-28 01:15

Re: GPS via PHP?
 
If you really want to use PHP, you should look here.


All times are GMT. The time now is 23:33.

vBulletin® Version 3.8.8