Has anyone managed to get Bluetooth working in JUCE on Android?
Right now, I'm trying to write a simple app that reads from a connected Bluetooth Classic device. Right now the device is using the Serial Port Profile, but it can in general use any profile.
However, I'm not sure exactly to do this - is there a way to hook into Bluetooth using the NDK? If not, and if I go write some custom Java code, is there a way to write C++ wrappers around that so that JUCE can plug into it (the "JNI")?
I don't know anything about bluetooth, I'm afraid. There's a ton of JNI wrapper macros and classes that I use internally, and it does all work, but it's not for the faint-hearted!
Ah, well I'm glad to see someone managed to get it to work!
Any chance I could poke you into at least donating the basic elements now? :)
It would be much appreciated if you could at least explain the basic approach you used to set everything up! Android is still all kind of mystical voodoo black magic to me.