It looks like you're new here. If you want to get involved, click one of these buttons!
I'm using Processing 3.0 in android mode + Android Studio to develop my app. My app reads serial data from an Arduino over USB and the sketch displays the data. I had this working ok but it was too slow and jumpy so I changed the Arduino program to use the Multiwii Serial Protocol. That protocol works great if I use regular old Android and Views. When I try to go back to Processing and send the serial data from MainActivity to Papplet sketch, I get Null pointer errors. The Multiwii Serial protocol works great until I try to use Processing Android mode. I don't know what to do to get the received byte data into the sketch. I know the MainActivity receives over the USB when I get the toasts saying so.
How should I try to do this?