O'Reilly logo

Beginning Android 4 Games Development by Robert Green, Mario Zechner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required