Hi. So basically I want to transfer real-time data(string, int, boolean…) between Android sketch and PC(laptop) sketch. How can I do it?
Check these links:
- https://forum.processing.org/one/topic/networking-between-android-and-server-connectbot-type-of-thing
- https://www.geneticmoo.com/networking-processing-for-android/
- https://forum.processing.org/two/discussion/23978/looking-for-net-library-alternative
By the way, if you find a reference of plain simple java and Android, you can always use it in Processing.
Kf
1 Like
I like to use the oscP5 lib for communication. You can set the data type for each message.
See here.
1 Like
Hello,
I have written Processing apps for Android used the Ketai library and serial over Bluetooth with success:
http://ketai.org/
Try first with an app that sends data such as:
There are numerous other apps that send the sensor data from an Android as well.
:)
1 Like