I´m trying to run "the basic code" running on the device by processing (v 2.0a5). It works well in the emulator but when I tray to run it on the mobile phone (HTC Hero android 2.1) by the usb i get this error
Failure [INSTALL_FAILED_OLDER_SDK]
Shutting down any existing adb server...
"the basic code"
void setup() {
size(480,800);
smooth();
noStroke();
fill(255);
rectMode(CENTER); //This sets all rectangles to draw from the center point
};
void draw() {
background(#FF9900);
rect(width/2, height/2, 150, 150);
};
I have set the phone to USB debugging on and even allowing app from unknown sources but still getting the error, isn't it possible to use Android 2.1 with processing 2.0 or dose it help if I use and older version of processing ?
I have been trying to script this now for a couple of hours and starting to get more and more confused what I am doing.
I´m trying to use a button to add players with there own score.
when you press the button the next players should bee added under the udder.
I am doing a program in processing and now the script is getting to long to find things in, so I would like to add some of the functions in another pde file
How can I do this ? or where can I read more about this ?