Create Your First Application

Now you are ready to begin. Although it is possible to develop for Android without using Eclipse, the recommended method is to use it. That is what we will use for this brief introduction. This “Hello World” example assumes you have correctly installed and configured the ADT plug-in.

1. Open Eclipse and select File, New, Project.

2. Select Android Project. Click Next.

3. Fill in the project details:

Project name: HelloUbuntuWorld—This is the Eclipse project name and the name of the directory that will store the project files.

Application name: Hello, Ubuntu World!—This is the title of your application by which it will be known and what will appear on the Android device.

Package name: com.example.helloubuntuworld ...

Get Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition 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.