{"id":5038,"date":"2014-06-27T02:51:08","date_gmt":"2014-06-27T06:51:08","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=5038"},"modified":"2014-09-10T03:44:02","modified_gmt":"2014-09-10T07:44:02","slug":"coursera-creative-programming-for-digital-media-mobile-apps","status":"publish","type":"post","link":"https:\/\/nycphantom.com\/journal\/?p=5038","title":{"rendered":"Coursera: Creative Programming for Digital Media &#038; Mobile Apps"},"content":{"rendered":"<p>Fun course. Supposedly an easy way to learn smartphone graphics coding.<\/p>\n<p>Using MIT's Processing.<\/p>\n<p>There was some issue getting things to compile.<\/p>\n<p>Hence, here's the proper way of installation: All 64 bit for my Windows 7 64bit.<\/p>\n<p>Install JDK (version 8). Get system environment PATH point to jdk...\\bin\\<\/p>\n<p>Install Processing (version 2.2.1).<\/p>\n<p>Install the latest Android Eclipse &amp; SDK. version 23. Be sure run Android SDK Manager to install SDK Platform from Android 2.3.3 (API 10). Android Support Repository\u00a0 from Extras is probably needed as well.<\/p>\n<p>Open Processing, use ADD MODE (top right corner saying \"JAVA\") to add Android Mode &amp; 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.)<\/p>\n<p>Get EMMA files from <a href=\"http:\/\/sourceforge.net\/projects\/emma\/files\/emma-release\/\" target=\"_blank\">http:\/\/sourceforge.net\/projects\/emma\/files\/emma-release\/<br \/>\n<\/a>Unzip both files: emma.jar &amp; emma_ant.jar to Android\\sdk\\tools\\lib\\<\/p>\n<p>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<\/p>\n<p>Be sure the phone is connected and turned on, developer options On, USB debugging checked. App will show soon.<\/p>\n<p>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.<\/p>\n<p>Done.<\/p>\n<p>&nbsp;<\/p>\n<p>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 &amp; SDK package, so there's no need for the copies. The annotations file copy may still be required. I also forgot to <a href=\"http:\/\/developer.samsung.com\/android\/tools-sdks\/Samsung-Android-USB-Driver-for-Windows;jsessionid=52PpJP8R5b3qhqtTVDrzvybpGKQqLLqCz1Tg7FQSm04GTr5LK9mc!52173914\" target=\"_blank\">update <\/a>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 <a href=\"http:\/\/forum.processing.org\/two\/discussion\/6911\/cannot-install-android-mode\/p1\" target=\"_blank\">download<\/a> 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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/nycphantom.com\/journal\/?p=5038\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,3],"tags":[],"class_list":["post-5038","post","type-post","status-publish","format-standard","hentry","category-projects","category-technical"],"_links":{"self":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/5038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5038"}],"version-history":[{"count":7,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/5038\/revisions"}],"predecessor-version":[{"id":5426,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/5038\/revisions\/5426"}],"wp:attachment":[{"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}