Thanks very much to all for your kind and quick answers. I will try do use them when I have time<br><br>kimaidou<br><br><div class="gmail_quote">2009/2/23 Ed Kapitein <span dir="ltr"><<a href="mailto:ed@kapitein.org">ed@kapitein.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Kimaidou,<br>
<br>
I put some script on <a href="http://wiki.openmoko.org/wiki/User_talk:Kapiteined" target="_blank">http://wiki.openmoko.org/wiki/User_talk:Kapiteined</a><br>
and start and stop gps in those scripts.<br>
And also clean the gps logs from data without a valid lat/long (thus<br>
without having a fix).<br>
<br>
Please feel free to browse trough the scripts and use whatever you like<br>
about it.<br>
<br>
Kind regards,<br>
<font color="#888888">Ed<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Sun, 2009-02-22 at 14:00 +0100, kimaidou wrote:<br>
> Hi,<br>
><br>
> I am developping voicenote (1), and I would like to implement a new<br>
> function : localize each audio note with the gps latitude, longitude<br>
> and time. Since I would like the soft to be plateform independant, I<br>
> ask you to tell me how can I :<br>
> * start gps if it is not<br>
> * know when I got a fix<br>
> * put the latitude, longitude and time into variables (and why not the<br>
> precision too : hdop)<br>
> * shutdown gps if it was not up when the script loads (if you think it<br>
> should do so)<br>
><br>
> Thanks for any help.<br>
><br>
> NB: I am just begining scripting; I know nothing about dbus (only copy<br>
> paste some working lines), etc. Please be patient :D<br>
><br>
> (1) <a href="http://wiki.openmoko.org/wiki/Voicenote" target="_blank">http://wiki.openmoko.org/wiki/Voicenote</a><br>
><br>
> Kimaidou<br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> Openmoko community mailing list<br>
> <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
> <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>