We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi! i'm looking for a way to use bluetooth serial with processing (android mode). i've tried ketai, but it keeps throwing errors on the example. it's probably not updated yet... thanks in advance, RobotMan2412 EDIT: i'm using processing 3 and i'm not going back to processing 2, just for a library
Answers
@robotman2412===
search in the forum; i have put code (android API) for that, i dont remember when && where.
Hmm. Is it somewhere here?
https://forum.processing.org/two/discussion/14555/how-to-use-bluetooth-serial-in-processing-android-mode
https://forum.processing.org/two/discussion/18211/updated-example-for-bluetooth-using-android-api-s
i'll take a look into it soon
@robotman2412====
see here: https://forum.processing.org/two/discussion/20881/processing-android-mode-android-device-bluetooth-arduino/p1
my code is somewhere in the middle of the posts; code posted at the beginning by the guy who asked is not for P5 3XXX or 4 but for 2
At the end of the post in the link provided by akenaton, myrds says that the P2 code works. You need to watch for the manifest file. In case you are building from a previous example or using some older code, the best thing is to:
Were you testing the Ketai example using two devices? What errors did you get?
Kf
@robotman2412, @kfrajer=== i have tested the code i have put: it works for bluetooth; i cannot say for the arduino part.
i want to restrict options to 3.x
@kfrajer i only have one android device. it's a Motorola G3 3rd gen the stack trace AND documentation say ketai doesn't work with p3
to be more specific as for the purpose of the application, i have an EV3 running LeJOS and i would like to send string messages to it with this app. this EV3 is part of a robot arm and the application will interface with another on the EV3.
@robotman2412===
the code i posted was for P3xxx