Thanks very much to all for&nbsp; 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">&lt;<a href="mailto:ed@kapitein.org">ed@kapitein.org</a>&gt;</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>
&gt; Hi,<br>
&gt;<br>
&gt; I am developping voicenote (1), and I would like to implement a new<br>
&gt; function : localize each audio note with the gps latitude, longitude<br>
&gt; and time. Since I would like the soft to be plateform independant, I<br>
&gt; ask you to tell me how can I :<br>
&gt; * start gps if it is not<br>
&gt; * know when I got a fix<br>
&gt; * put the latitude, longitude and time into variables (and why not the<br>
&gt; precision too : hdop)<br>
&gt; * shutdown gps if it was not up when the script loads (if you think it<br>
&gt; should do so)<br>
&gt;<br>
&gt; Thanks for any help.<br>
&gt;<br>
&gt; NB: I am just begining scripting; I know nothing about dbus (only copy<br>
&gt; paste some working lines), etc. Please be patient :D<br>
&gt;<br>
&gt; (1) <a href="http://wiki.openmoko.org/wiki/Voicenote" target="_blank">http://wiki.openmoko.org/wiki/Voicenote</a><br>
&gt;<br>
&gt; Kimaidou<br>
</div></div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>
&gt; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
&gt; <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>