Working Android - Bluetooth Example
in
Android Processing
•
1 year ago
Hi,
I made what I think is the first Android-Bluetooth example in Processing. Incidentally it is also my first upload to Github.
it includes:
BluetoothServer, a Processing project that uses the BlueCove Bluetooth library.
BluetoothClient, an AndroidProcessing project that uses Android's Bluetooth libs.
Instructions:
Run
BluetoothServer first, then run
BluetoothClient. They should both send messages when the screen is clicked.
Known issues:
Sometimes, probably because I'm missing an unregister somewhere, the Bluetooth drive seems to crash without telling you. When I can't connect, I usually turn my BT on and off and it works.
I don't usually make stuff for other people but I've really been missing the Bluetooth functionality in my Processing experiments.
Any feedback is welcome! I don't consider myself to be a great coder, so I won't be offended if you point out glaring errors, which I'm sure there'll be many of.