Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Processing 2: Creative Coding Hotshot

You're reading from  Processing 2: Creative Coding Hotshot

Product type Book
Published in May 2013
Publisher Packt
ISBN-13 9781782166726
Pages 266 pages
Edition 1st Edition
Languages
Author (1):
Nikolaus Gradwohl Nikolaus Gradwohl
Profile icon Nikolaus Gradwohl

Table of Contents (16) Chapters

Processing 2: Creative Coding Hotshot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Romeo and Juliet The Stick Figure Dance Company The Disco Dance Floor Smilie-O-Mat The Smilie-O-Mat Controller Fly to the Moon The Neon Globe Logfile Geo-visualizer From Virtual to Real Index

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:

  1. 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.

  2. Unpack the downloaded file and run the Android command from the tools folder.

  3. Processing creates apps that run on Android starting with Version 2.3.3, since this was the first...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}