Android API Basics
In the rest of the chapter, we'll concentrate on playing around with those Android APIs that are relevant to our game development needs. For this, we'll do something rather convenient: we'll setup a test project that will contain all of our little test examples for the different APIs we are going to use. Let's get started.
Creating a Test Project
From the last section, we already know how to setup all our projects. So, the first thing we do is to execute the ten steps outlined earlier. We followed these steps, creating a project named ch04--android-basics
with a single main activity called AndroidBasicsStarter
. We are going to use some older and some newer APIs, so we set the minimum SDK version to 3 (Android 1.5) and the build ...
Get Beginning Android 4 Games Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.