Paring to Headset

Post your questions and help other users.

Moderator: Martin

Post Reply
srazzell
Posts: 11
Joined: 11 Sep 2014 00:12

Paring to Headset

Post by srazzell » 13 Oct 2014 21:40

Hey Martin,

Is there a way to pair a phone with a bluetooth headset without using ControlUI? I'm trying to pair on different phones with the same flow and the different UI's are giving me trouble. The other option would be a way to check the UI of the phone (stock Android, Samsung TouchWiz, HTC Sense) and then press different buttons depending on the UI. Currently I try to connect to the headset, open the notification draw, click the pairing request, and click pair, but that doesn't work on some LG phones. Any ideas?

Thanks

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Paring to Headset

Post by Martin » 14 Oct 2014 18:02

Hi,

There's no action to directly pair BT devices and I'm not sure if Android even provides an official API to do this without going through the regular user interface, but I could be wrong.
What kind of problems do you face when using Control UI to drive the user interface on LG phones? Are the buttons to accept the pairing named differently or does LG take more time to show the dialog?

Regards,
Martin

srazzell
Posts: 11
Joined: 11 Sep 2014 00:12

Re: Paring to Headset

Post by srazzell » 14 Oct 2014 19:14

The buttons to accept the pairing are different. Namely, there's no notification you have to press in the notification drawer. I'm not sure how to do conditional statements with Control UI, so it gets tricky.

Post Reply