Hello World of Processing for Android

With Download and install Processing software and Setup Processing for Android development, we can noe prepare our first Hello World using Processing for Android.

- Start Processing and switch to Android Mode, by selection on the top-right pull-down box.

switch to Android Mode

Enter the code:

void setup()
{
size(displayWidth, displayHeight);
background(0);
}

void draw()
{
fill(204, 102, 0);
rect(30, 20, 55, 55);
text("hello Android + Processing", 100, 100);
}

Hello World of Processing for Android

With Android device connected, you can save and Run on Device under Sketch menu selection.

Run on Device

Hello World of Processing for Android run on device


Next:
- Detect touch event in Processing for Android


thumbnail
Title: Hello World of Processing for Android
Rating: 100% based on 99998 ratings. 10 user reviews.
Post by

Related articles :

0 comments:

Post a Comment

My Blog List

 
Copyright © 2015. About - Web Version - Mobile Version Sitemap - Contact - Privacy