← Back to team overview

ubuntu-phone team mailing list archive

Re: bluez on ubuntu phone

 

Hi Nick,

Low level APIs like bluez are generally not part of the SDK meant to be
used by applications on the phone, and higher level QML APIs are what
are supported in the SDK. However, currently there is also no policy
group for talking to bluez over dbus, nor any supported method of
performing background processing, so you won't be able to create a
device pairing, or perform any background tasks, within an application
you intend to upload to the store, currently.

If you're just looking to experiment with the examples, you can follow
the instructions in my answer on Ask Ubuntu[1] about how to set up a
chroot to compile and run traditional CLI tools on the phone.

[1] https://askubuntu.com/questions/620740/#623311


On Sat, 2016-03-12 at 03:21 +0200, Николай Шатохин wrote:
> Hello.
> 
> I'm trying to run few bluez examples on my ubuntu phone from here: ht
> tp://people.csail.mit.edu/albert/bluez-intro/x502.html
> But Ubuntu SDK can't compile it because can't found bluez headers
> (and I suppose lib too). So, how to get it worked?
> 
> Best regards,
> Nick
> -- 
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References