Using bluetooth interface in an Android service



  • Hi,
    I'd like to make an Android service to connect my bluetooth interface to a remote device when my app is stopped. All about the service created with Qt 5.7 works well, but unfortunatelly, when I try to allocate the QBluetoothLocalDevice object to retrive my device information the service crash. There is no problem if I use QbluetoothLocalDevice from app activity. I'm seeing the same behavior with others Bluetooth classes too. Some ideas?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.