This is a mirror of official site: http://jasper-net.blogspot.com/

Tilt Ball Walkthrough

| Thursday, July 21, 2011
Introduction

This tutorial guides you through creating a simple application for the Android phone. The application demonstrates using the accelerometer to make a ball move across the screen when the phone is tilted. The project is built using Eclipse and the Android SDK.
Background

This tutorial assumes you already have the Eclipse environment up and running. If you are new to Eclipse and Android development, I recommend going through the temperature converter tutorial which can be found here.
Using the Code

You can create the project by going through the steps listed below. If you prefer to load the entire project, download and unzip the project file, then open Eclipse and choose File->Import..->General->Existing Projects and choose the root folder of the TiltBall project.

Let's begin:

Start Eclipse (I'm using Eclipse Classic version 3.6.2).

Choose File -> New -> Project -> Android -> Android Project.

SelectWizard.jpg

Read more: Codeproject
QR: TiltBallWalkthrough.aspx

Posted via email from Jasper-net

0 comments: