Well, geoclue is a fairly new project, but I am excited for someone to want to use it. I am currently tasked with writing documentation and finishing up the position API in a week or so, and then I think we will go to "Beta" status on it, which means we will try, but not guarentee API compatibility on the position api.
<br><br>As for using it, we have tried to make it as easy as possible.<br><br>Assuming you are glib friendly then all you need to do is... (from geoclue position example)<br>#include <geoclue/position.h><br><br> if (geoclue_position_init () == GEOCLUE_POSITION_SUCCESS){
<br> if (geoclue_position_current_position (&lat, &lon) != GEOCLUE_POSITION_SUCCESS) { <br> // You have position!!!!!!!!!!<br> }<br> }<br><br><br><br><div><span class="gmail_quote">On 8/9/07,
<b class="gmail_sendername">Piotr Gaczkowski</b> <<a href="mailto:doomhammerng@gmail.com">doomhammerng@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br><br>I would like to use GeoClue in order to provide XEP-0080[1] in Gajim[2].<br>Unfortunately I cannot find documentation for GeoClue, so I'm quite<br>unsure about what to do.<br><br>So: are there any docs available or could you just tell me, how can I
<br>access some data, like lat, long, alt, area, etc.?<br><br>[1] <a href="http://www.xmpp.org/extensions/xep-0080.html">http://www.xmpp.org/extensions/xep-0080.html</a><br>[2] <a href="http://gajim.org">http://gajim.org</a>
<br><br>Piotr Gaczkowski<br><br>_______________________________________________<br>GeoClue mailing list<br><a href="mailto:GeoClue@lists.freedesktop.org">GeoClue@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/geoclue">
http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br><br><br></blockquote></div><br>