<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 January 2014 19:07, Bastien Nocera <span dir="ltr"><<a href="mailto:hadess@hadess.net" target="_blank">hadess@hadess.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">><br>
> I guess blueman is hosted in launchpad[1] but...<br>
><br>
> ><br>
> > Or, even better, use GNOME 3 with builtin Bluetooth support :)<br>
><br>
> Can you tell me where exactly is the code for GNOME3's bluetooth<br>
> device<br>
> management?<br>
<br>
</div>It's in gnome-shell, gnome-control-center for the UI parts, and<br>
gnome-bluetooth for the backend code. </blockquote><div><br></div><div>Alright! Naive question then: where can I see a simple program sample of gnome-bluetooth's library usage?</div><div>What I've found for now is this [1], which sadly doesn't work[2].</div>
<div><br></div><div>And I have another question: if I develop something that uses gnome-bluetooth backend, would this work in Ubuntu out of the box? I ask this because in this blog post [3] you say that BlueZ v5 is what is being used, however the version of the bluez package of Trusty Tahr 14.04 (last snapshot I've tried) has only version 4.101. Would this mean incompatibility?</div>
<div><br></div><div>I also have another question wrt obex: I've noticed that the "browse devices..." command in blueman calls under the hood nautilus to simply open a URI with the obex:// scheme. So I'm wondering, if I need to do an app that sends and receives files from a phone via bluetooth, how should I do it? Does gnome-bluetooth provide me with the necessary API to do that or do I have to use gvfs somehow to interact with this protocol?</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Killswitch support in gnome-settings-daemon.<br>
</blockquote><div><br></div><div>What's killswitch?</div><div><br></div><div>[1] <a href="https://wiki.gnome.org/Projects/Vala/DBusClientSamples">https://wiki.gnome.org/Projects/Vala/DBusClientSamples</a></div></div>[2] <a href="http://stackoverflow.com/questions/21138814/updated-bluez-dbus-api-document">http://stackoverflow.com/questions/21138814/updated-bluez-dbus-api-document</a></div>
<div class="gmail_extra">[3] <a href="http://www.hadess.net/2013/11/bluetooth-file-sharing-obexpush-in.html">http://www.hadess.net/2013/11/bluetooth-file-sharing-obexpush-in.html</a></div></div>