Running the game on an Android phone
Our final task of this mission is to make our moon-lander game run on Android devices. We will install the Android SDK and use the Android mode of Processing to turn our game into an Android app. We will use the Android emulator and make the sketch run on devices connected via USB. Since most Android devices come without a keyboard but do have a touch screen, we will adapt our game controls and then run in full-screen mode.
Engage Thrusters
Let's convert the game to an Android app:
Go to http://developer.android.com/sdk/index.html and download the Android SDK for your computer. We don't need the bundled version that comes with Eclipse. Since we already have an IDE (Processing), we need to scroll down to the SDK Tools Only section and download the SDK package for our operating system.
Unpack the downloaded file and run the Android command from the
tools
folder.Processing creates apps that run on Android starting with Version 2.3.3, since this was the first...