Google android tutorial hello world


Your choice to begin development on the new platform is dependent how easy it’s to create a &ldquoHello World&rdquo. This tutorial can help you setup the expansion atmosphere and write &ldquoHello World&rdquo in couple of simple steps. This tutorial assumes that you’re already acquainted with eclipse and it is installation.

Step One: Setup Eclipse

You will get the most recent form of Eclipse from Eclipse Downloads. I’m using Eclipse Classic 3.7.2 for home windows with this tutorial. If you are planning to set up 64-bit version, make certain you’ve latest 64-bit form of Java Development (JDK) installed.

Step Two: Install Android Development Tools (ADT) WordPress plugin

First we have to install Eclipse WordPress plugin named Android Development Tools (ADT).

Its quite simple to obtain this wordpress plugin installed. Just Open Eclipse IDE
An Install window can look with Available softwares. Now enter link that follows supplied by Google in &ldquoWork with&rdquo area:
A brand new update link can look place a check mark and then click Alongside start installation. After installation the Eclipse IDE would need a restart.

Step Three: Install Google Android SDK

You will find two methods for getting and install Google Android SDK.

1. Install new SDK (Recomended)

A &ldquoWelcome to Android&rdquo window seems for SDK configuration when Eclipse restarts after ADT wordpress plugin installation (Step Two). You are able to choose from setting up new SDK or use existing. When you purchase first option, it’ll instantly download and configure SDK with Eclipse. You may also get SDK platform (Android APIs) version of your liking. Second item will help you to locate SDK by hand if you have downloaded it.

Configure SDK

2. Use existing SDKs

Should you skip above, you are able to Download Android SDK in zip format and configure it using preferences window Window > Preferences. Here you choose Android from left side bar and hang SDK location by hand.
Locate SDK

Locate SDK

Android SDK Manager Window > Android SDK Manager enables you to definitely have any form of Android Platform whenever. You may also get documentation, sources, samples along with other stuff here.

Android SDK Manager

Step Four: Create New Android Virtual Device (AVD)

Now we have to produce a virtual device to operate Android Application on Android Emulator. Visit Window >AVD Manager and choose Virtual Products. Click New to produce a Virtual Device, provide some Title and choose Target Android Platform in the drop lower list. If you work with 4.x.x form of Android Platform you ought to get ARM EBI v7a System Image using Android SDK Manager (begin to see the previous image) to produce virtual device.

AVD Manager

Step Five: Create First Android Project

Produce a new Project File >> New >> Project , a brand new wizard can look to choose project type, choose Android Project from Android and click on Next in the wizard. You now will be to specify Project Title. A directory with this particular title could be produced in yous system. Next may be the Package Title the namespace really where all of your code goes. Standard domain style can be used for naming. Then Activity Title it’s the title from the class that’s produced by ADT, the wordpress plugin we installed. And Application Title which will appear as title of the application. For instance my configurations are just like:

Project Title: AndroidHelloWorld

Package Title:

Activity Title: HelloWorld

Application Title: My Hello World Application

Now Click Finsh. When the Finish button is inactive make certain that the aren’t missing any information talked about above and also the Pakage Title stick to the domain style.

Step Six: Run the Application

Now click dropdown alongside run button, choose Run Designs, Double Click Android Application, it’ll create new configuration. At right side just see the the applying you simply produced and then click Run button. Here you will notice your output.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>