Professional Documents
Culture Documents
In this module, we will discover the fundamental design patterns of all android
applications. We will also learn about the different components of the android project which are
the “src” or source code, the auto generated codes and the included libraries. It is also in this
module that we will be demonstrating the “Hello World” program in android via video tutorial.
Objectives:
GETTING 1
STARTED
A. Creating a new Android Application
An Android Application is a software application
that runs on the android mobile operating system. Since the
android platform is built for mobile devices, a typical
android application is designed for a smartphone or tablet
PC. The ADT plugin will be able to provide a new project
wizard where you can create a new project or open one
from an existing code.
Creating a New Android Project
The ADT plugin provides a New Project Wizard
that you use to quickly create a new Android project (or a
project from existing code). These are the steps needed to
create a new project:
1. Select File > New > Project.
2. Select Android > Android Application Project, and
click Next.
3. Enter the basic settings for the project:
a. Enter an Application Name. This name is used
as the title of your application launcher icon
when it is installed on a device.
b. Enter a Project Name. This text is used as the
name of the folder where your project is created.
c. Enter a Package Name. This class package
namespace creates the initial package structure
for your applications code files and is added as
the package attribute in your application's
Android manifest file. This manifest value
serves as the unique identifier for your
application app when you distribute it to users.
The package name must follow the same rules
as packages in the Java programming language.
d. Select a Minimum Required SDK. This setting
indicates the lowest version of the Android
platform that your application supports. This
value sets the minSdkVersion attribute in the
<uses-sdk> element of your manifest file.
e. Select a Target SDK. This setting indicates the
highest version of Android with which you have
tested with your application and sets the
targetSdkVersion attribute in your application's'
manifest file.