Day 1: Make Your Setup Ready For Android App Development

Introduction


In our very first article, we will set up an Android Project in the Eclipse IDE and try to figure out various options and explore the New Android Project.

Step 1

Our first step is to open the Eclipse IDE successfully.

Eclipse IDE

Step 2

Next, click on File > New > Android Project.

Android Project

Step 3

You will now get the wizard asking for New Android Application

New Android Application

Here, you have Application Name, Project Name and Package Name.

Application Name is the actual name of the app that will be seen on the smartphone or in the Play Store.

Project Name is that name by which your app is identified inside Eclipse.

And last, we have a package name (like namespace). As you know, the package name must be unique. So, Eclipse follows a common convention to avoid ambiguity. It adds your reverse domain/organization name to the start of your project name.

Suppose your name of the Project is Hello World and your domain is india.com.

Then your package name should be like com.india.helloworld.

Since I have a project named Navigation Page then:
 
Navigation Page

Since my domain is like greensyntax.com and my project name is Navigation Page.

Note: If you don't have any Domain/Organization name then use a fictitious name like I did.

The remaining fields specify what kind of SDK you want. Try to leave it as is and click on the Next Button.

Step 4
 
Next Button
 
Leave these fields as they are and click on "Next".

Step 5
 
Next
 
Here, you are asked to add an Icon file and Background color. For the very first time leave it as is and move on with the Next Button.

Step 6
 
Button
 
In this step, we are asked for Activity type. So, we will choose Blank Activity and move to Next.

Step 7
 
Here, we are asked for the name of the main Activity. And, accordingly IDE creates the Java source fie.

Layout Name describes the XML file name that will be linked to the Main activity file.

And finally, it is the fragment that will be explained in a future article. For now, it is used for Multi-screen activity (say Tablet).

And, click on Finish.

And we are now ready with our project.

Conclusion


This article introduced the New Project wizard. In our next article, we will learn about the basic components of an Android Project.


Similar Articles