We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to have an app that would receive serial data and based based on that data it would do something in a an app .. The data is intended to come from Arduino over HC-06(Serial bluetooth module). I'm not able to find an easy to use suitable way of doing it. Is there any library I should be looking for, if Ketai could be used(PLs show be a barebone example without all the glitters).. Processing Ver: 3.0.b6 or above. Obviously I'm not an Android Junkie, so please guide me how to do it.. I know this far that I need the mac address from the bluetooth module. (I can find and hardcode that one)..
Many thanks for help..
Well be well appreciated..
Answers
i have answered to the same question:::
https://forum.processing.org/two/discussion/14531/how-to-setup-processing-for-android-to-receive-and-send-serial-communication-over-bluetooth#latest
The Ketai library is supposed to do this but the examples do not work with Processing 3.0.1.
@freak===
ketai updated (2015) version?
Yes. As a matter of fact, you told me in another thread... https://forum.processing.org/two/discussion/14370/sample-ketai-bluetooth-program-error-on-fresh-install/p1 ...that the example is for an activity and as of Processing 3 it is a fragment. I'm not advanced enough at this point to know what to do to fix it but I'm am slowly teaching myself.
@freak===
in the revisions.txt from Ketai i read::
> v12 update
Test Platforms: Android 4.4.2, Android 5.1.1 Test Hardware: Nexus 7, Galaxy 3s, Nexus 6 - updated for version 3 of processing - NOTE: Currently NFC feature does not function due to a changes in PApplet(extending Fragment instead of Activity)
--- So, perhaps the bluetooth code from ketai does not work for the same reason; i will a give a look to that asap
@freak===
i tested ketai bluetooth example from the last update::: not any error as for me!
I felt there was missing an example for showing serial communication with Any microcontroller like Arduino..
I found a solution .. But there is not good supporting example for serial communication under different circumstences..