190 likes | 207 Views
Run on Android. Run on Android. Download Android SDK http://developer.android.com/sdk/index.html. Run on Android. Download Android SDK. Run on Android. Installing your SDK Unzip the SDK file. Run on Android. Add Android mode to Processing. Run on Android.
E N D
Run on Android • Download Android SDK • http://developer.android.com/sdk/index.html
Run on Android • Download Android SDK
Run on Android • Installing your SDK • Unzip the SDK file
Run on Android • Add Android mode to Processing
Run on Android • If you have been in trouble trying to install Processing 2 Android, CoffeeScrip or Javascript modes with the built-in option, here you have the links to download the modes and install them manually. • You just need to unzip them in "…/Processing/modes“ • http://www.blurrypaths.com/post/52573899794/processing-2-0-modes-download-links
Run on Android • Download Library of Android Mode
Run on Android • Sketchbook Location
Run on Android • Run Android Mode of Processing First Time • Close Processing • Open Processing • Set the location of Android SDK
Run on Android • In Processing, Change to Android Mode
Run on Android • Install API 10
Run on Android • Create your Android devices
Run on Android • Run in Emulator - preprocess the current sketch, create an Android project, and run (debug) it in the Android emulator. • Run on Device - the same as Run, but run on a device (phone) that's attached by USB. • Export Android Project - creates an 'android' folder that contains the files necessary to build an APK using Ant. • http://ant.apache.org/
Run on Android • Example • Copy data files to data/ fold • E.g. vessel1.jpg
Run on Android • Example • Run on Emulator
Run on Android • Result
Run on Android • Install the Adb driver if you don’t install it • adbdriver.com • Connect your Android device to the PC, and check whether the driver has been installed successfully by DOS command • adb devices
Run on Android • Run on Device • SketchRun on Device • Demo
Run on Android • Android Device • Turn on USB Debugging • 允許模擬位置 • 設定 安全性 勾選"未知的來源"