Processing for Android: Getting Started

  • 32,215 views
Uploaded on

A look at the upcoming Processing for Android, a free, friendly code environment for rapidly "sketching" with media on the mobile platform. From Android Only, Stockholm, Sweden, September 29 2010.

A look at the upcoming Processing for Android, a free, friendly code environment for rapidly "sketching" with media on the mobile platform. From Android Only, Stockholm, Sweden, September 29 2010.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
32,215
On Slideshare
0
From Embeds
0
Number of Embeds
10

Actions

Shares
Downloads
55
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Processing + Android Rapid visual design PETER KIRN createdigitalmusic.com + createdigitalmotion.com
  • 2.  
  • 3.  
    •  
    Sketching (CC-BY) Kristian D., via Flickr
  • 4.   processing.org
  • 5. Processing is used by many different kinds of people to make many different kinds of creations. On Android, features include 2D and 3D visuals, images, type, and data - and you can use native Android code.
  • 6. You need: 1. Android SDK (2.1 or later) 2. Processing pre-release (0190 in this demo) Optional: 3. A copy of Eclipse (very much optional)
  • 7. Install components. 1. Google APIs, Level 7 2. Android SDK 2.1, Level 7
  • 8. Switch to Android Mode! (demo)
  • 9. Point at the Android SDK.
  • 10. Running Code: Emulator
  • 11. Running Code: Connected Device
  • 12. Your own Processing code: Adaptive screen sizes Find the current size screenWidth screenHeight Set up the screen size(screenWidth, screenHeight, A2D); (or A3D)
  • 13. Your own Processing code: Touch
  • 14. Mobile + Browser + Desktop
  • 15.  
  • 16. Developing with Processing and Android in Eclipse Mixing and Matching Processing and Android APIs
  • 17. Applications + Code Fonts PFont.list() .otf, ttf Data visualization loadStrings();
  • 18. Applications + Code Touch + Keys motionX, motionY, pmotionX, pmotionY surfaceTouchEvent KeyEvent Virtual keyboard, hardware keys Override MENU, BACK
  • 19. Applications + Code Override screen orientation orientation(PORTRAIT); orientation(LANDSCAPE); Density DisplayMetrics Manifest + permissions, right in PDE
  • 20. Join the community; Let's see what happens wiki.processing.org/w/Android processing.org noisepages.com/groups/processing createdigitalmotion.com createdigitalmusic.com