Processing + Android

  1. SETUP PROCESSING
    1. Download an Android-enabled version of Processing (e.g., version 3.0a5 )
    2. Download the Android SDK
      1. Install the relevant Android APIs
      2. Start “SDKFolder/tools/android”
      3. Select the Android API Version you want to develop for (at least API 10) and download the necessary packages
    3. Start Processing in Android Mode
      1. Start Processing
      2. Add Mode “Android”
      3. Switch to “Android”-Mode
      4. Select SDK-Folder if necessary
      5. Restart if necessary
  2. SETUP YOUR DEVICE
    1. Your device has to have “USB debugging” enabled.
      • For Android 2.0-2.3.x
        1. go to “Settings  Applications→ Development“.
      • For Android 3.0- 4.1.x
        1. go to “Settings → Developer Options
      • For Android 4.2.x and higher
        1. go to “Settings → About phone/tabletand tap 7 times on “build number
        2. go to “Settings → Developer Options

Android Java Reference:
http://developer.android.com/reference/packages.html