Coursera: Creative Programming for Digital Media & Mobile Apps

Fun course. Supposedly an easy way to learn smartphone graphics coding.

Using MIT's Processing.

There was some issue getting things to compile.

Hence, here's the proper way of installation: All 64 bit for my Windows 7 64bit.

Install JDK (version 8). Get system environment PATH point to jdk...\bin\

Install Processing (version 2.2.1).

Install the latest Android Eclipse & SDK. version 23. Be sure run Android SDK Manager to install SDK Platform from Android 2.3.3 (API 10). Android Support Repository  from Extras is probably needed as well.

Open Processing, use ADD MODE (top right corner saying "JAVA") to add Android Mode & Javascript Mode. (P.S., if there were previous installations of Processing or Android SDK, it is best to remove those modes again and re-add them.)

Get EMMA files from http://sourceforge.net/projects/emma/files/emma-release/
Unzip both files: emma.jar & emma_ant.jar to Android\sdk\tools\lib\

copy android-support-annotations.jar from Android\sdk\extras\android\support\annotations. Paste it to Android\sdk\tools\support. Rename the file to annotations.jar

Be sure the phone is connected and turned on, developer options On, USB debugging checked. App will show soon.

If Run in Emulator, compilation might need to be repeated as the Emulator loads very slowly and the second compilation must be done after the emulator successfully loaded with nice graphics.

Done.

 

Update (9/10/2014): After virus attack and reformat of HDD with the same system, the emma files appeared to be included in the new Android Eclipse & SDK package, so there's no need for the copies. The annotations file copy may still be required. I also forgot to update my samsung usb driver, which would eventually allow for Android API 19, instead of only API 10. There is one thing to note, I do not remember how or if I did solve the missing "Android Mode" problem in Processing. But to solve this quick, simply download and unzip AndroidMode folder to the MyDocument\Processing\Modes folder. I think this version of AndroidMode that I downloaded was the cause of the API-19 issue. It was built for API level 19. I should backup a copy of the samsung driver as well as the AndroidMode folder.

This entry was posted in Projects, Technical. Bookmark the permalink.

5 Responses to Coursera: Creative Programming for Digital Media & Mobile Apps

  1. John Pribesh says:

    You sir saved me a lot of headache with this. Thank you!

  2. Oscar says:

    Hi
    I've just followed your post, but when I'm going to get the EMMA files I just find ONE file (not zipped) not mentioned in your words: the maven-emma-plugin.jar
    if I try to open it, properties says me it's a .exe file, not a compressed file
    even though adding this file in the folder you mention, the emulator persist with it's error 720 and 734.
    what else can I do in order to continue?
    thx

  3. Oscar says:

    thx so much
    even though the error "build failed" 720 and 734 persist calling the emulator android.
    processing works perfect with the other ambients: java & javascript

  4. timlyg says:

    Resource for free sounds, audio.
    freesound.org

    More about drawing:
    http://processing.org/reference/

Leave a Reply to Oscar Cancel reply

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

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.