Android Mode w/ Processing 2.2.1 Update

Hello everyone.

I took home a Nexus tablet, which has Android 4.3 on it, and was able to upload a sketch to it, along with my phone, which has 4.4.4 installed. This was suspicious as we were having trouble in class getting both versions to work.

I believe I’m using an Android Mode build on my computer that is older and more stable than the ones we were downloading today. After looking at a bunch of blogs on the subject, on August 22 Ben Fry even admitted that Android Mode is broken right now in Processing:

https://github.com/processing/processing-android/issues/70

But, I can get both versions of Android to work with Processing 2.2.1 using this older version of Android Mode.

Download this version of Android Mode that I have on my computer:

AndroidMode

Unzip it and you’ll then want to place this folder in your modes directory. That is in your Processing sketch book (probably in your Documents directory): Processing > modes

Just to be safe, rename the old version/folder we are replacing so we can go back to it if we need. Something like _AndroidMode. Then place the new one that I provided in the modes folder.

Restart Processing, and this should work. If it doesn’t work, you may need to install the Android API for 4.3 or 4.4.2 form the Android SDK Manager: Applications > android-sdk-macosx > tools > android. You need to open this using Terminal. Only install the SDK Platform for each API, not the whole package.

This is what I have installed in the Android SDK Manager:

Tools Folder: Android SDK Tools 23.0.2, Android SDK Platform-tools 20, Android SDK Build-tools 20

Android 4.4W (API 20) folder: SDK Platform

Android 2.3.3 (API 10) folder: SDK Platform

I hope this helps :)

-Jon

One thought on “Android Mode w/ Processing 2.2.1 Update

  1. mattwizinsky

    Thank you, Jon. This worked for me both on the Tablet (4.4) and on my phone (4.0.2).
    I think I also had an earlier version of Android Mode, probably from Processing 2.1.x, which had been working just fine until I updated. Hopefully, this works for others as well.

    Reply

Leave a Reply to mattwizinsky Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>