maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Reference] Application of terminal to activate and display the GPS coordinates. (https://talk.maemo.org/showthread.php?t=63571)

WhiteWolf 2010-10-09 09:43

[Reference] Application of terminal to activate and display the GPS coordinates.
 
Because only you can access the GPS through the SDK, we are bound to make profits through scripts.

Anybody could create a small application to get the GPS coordinates using the terminal? I suppose it's as if we have an external GPS.

Thanks.

Matan 2010-10-09 10:52

Re: [Reference] Application of terminal to activate and display the GPS coordinates.
 
I am not sure I understand your request, but the following program displays GPS data on the terminal:
http://my.svgalib.org/770/n900/location-example.c
http://my.svgalib.org/770/n900/location-example

theonelaw 2010-10-09 10:58

Re: [Reference] Application of terminal to activate and display the GPS coordinates.
 
Possibly a useful idea,
- maybe a way exists to do this using GPS Recorder code? ;)

WhiteWolf 2010-10-09 15:04

Re: [Reference] Application of terminal to activate and display the GPS coordinates.
 
Quote:

Originally Posted by Matan (Post 837055)
I am not sure I understand your request, but the following program displays GPS data on the terminal:
http://my.svgalib.org/770/n900/location-example.c
http://my.svgalib.org/770/n900/location-example

That's the idea. What I try and tell you how I work.

Thanks.

jedi 2010-10-09 16:35

Re: [Reference] Application of terminal to activate and display the GPS coordinates.
 
Try here: http://talk.maemo.org/showthread.php?t=52609 and http://wiki.maemo.org/PyMaemo/Using_...mplete_example

WhiteWolf 2010-10-11 07:08

Re: [Reference] Application of terminal to activate and display the GPS coordinates.
 
Thanks, but I need to install more items python.

I'll try.

WhiteWolf 2010-10-11 07:15

Re: [Reference] Application of terminal to activate and display the GPS coordinates.
 
Quote:

Originally Posted by Matan (Post 837055)
I am not sure I understand your request, but the following program displays GPS data on the terminal:
http://my.svgalib.org/770/n900/location-example.c
http://my.svgalib.org/770/n900/location-example

It works very well. Thanks.

I have a problem. For use in a Bash script and also to other commands ... How I can do? I used console commands that return a single result over time. or code and return it every little bit I do not know how to access their results if I run it with another instance at a time or after its implementation.

Example:

...
location-example;
/ Sbin / iwlist wlan0;
# How do I access the values returned location-example?
...


All times are GMT. The time now is 14:50.

vBulletin® Version 3.8.8