Andoid Processing
in
Android Processing
•
1 year ago
Well,
like some of you have no enough good luck at first testing running sketch on Android emulator, I also encountered such pain in the aXX issue, but I finally managed to work on emulator.
I now for my own benefit , hereby conclude the following must-follow tips for newbies, this is to make sure you can run your sketch on emulator ( I have yet tested on my Android tablet ) :
*wiki page
http://wiki.processing.org/w/Android already have explanation on everything you need to know, such as the
instructions, you must follow as told. Then some of my words:
1. use Processing newest Beta aka
processing.exe -2.03b ( I don't care if members say other versions work or not, at least I can run on this new beta).
2. set your
Sketchbook location in preferences (this turns out to be my major issue that I have different versions of Processing with different paths), I didn't set correctly, so I always got the error message.
3.
Run Android AVD from within Processing, and not from Eclipse because I did so and failed. You will see Processing-0207 in AVD manager, if not, close any Android emulator if have and restart Processing.
4. test the sample sketch first, for me I use the color wheel .pde which is my first success running on emulator.
5.
Ctrl+Shift+R and not hitting on the triangle button ( which is run on device ).
6. award yourself with an ice cream and a sandwich if you do succeed ;P
if you got "Building Android project" then "installing sketch on emulator : 5554..." congra, you are onto the route to build the sketch on emulator, otherwise ;
if you got "waiting for device to become available" the annoying message, just abandon the Run, it won't work. Just restart Processing and try again..especially If you got
Sorry, 'force close' in emulator, not all sketches are workable in Android emulator I think.
so far, so good, I am not Processing expert, just like to play with it for Augmented Reality purpose.
feel free to criticize ;P
1