Need help with Ketai Bluetooth - SOLVED
in
Android Processing
•
1 year ago
EDIT - Great timing - Ketai v7 solved the problem!
Hi,
I am trying to use Ketai to comunicate over Bluetooth with my Android Phone (Galaxy SII).
I have implemented simple bluetooth communications, but Ketai seems to be an excellent library and provides easy access to sensors, which I will eventually also need.
My low(er) lever approach works fine, so I have no problems with bluetooth hardware.
When trying to use Ketai's bluetooth example, listing devices works fine, as detection and even pairing. The problem is, I cannot get it to connect. I tried connecting to my Sony Vaio's internal Bluetooth, a generic bluetooth adapter and an arduino BT module.
The ListSelection event gets triggered, as I confirmed printing data to the console inside that event. The only problem seems to be the connectToDeviceByName, which produces no results.
As stated, all bluetooth hardware works fine, as does my implementation based on Oscar's solution (
http://webdelcire.com/wordpress/archives/1045 - Thank you, Oscar). But as I mentioned, using Ketai would bring enormous benefits, so I would really prefer to get Ketai to work.
Thanks in advance for your help.
1