Skip navigation

Caution : I am working on Eclipse

Difficulty : 1/5

Create a new Android Project :

1.File -> New -> Project

2.Select Android(from Select a wizard screen) -> click on Android Project ->click on ‘Next‘ button

3. New Android Project window :
Project Name : HelloWorld
Target Name: Android 2.2 (Most recent)
Application Name: HelloWorld
Package Name : com.sid.HelloWorld
Create Activity : HelloWorld
MinSDKVersion: 6
Click ‘Finish’ Button
Thats it , we have created a new Android project. Lets now dig into the project folder ‘HelloWorld

To get a Bird view of Android Project follow these steps :
1: HelloWorld -> src-> com.sid.HelloWorld -> HelloWorld.java


2:HelloWorld -> res -> layout -> main.xml


Replace with the below code :

<?xml version=”1.0″ encoding=”utf-8″?>
<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”
android:orientation=”vertical”
android:layout_width=”fill_parent”
android:layout_height=”fill_parent”
>
<TextView
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:text=”HelloWorld”
/>
</LinearLayout>

Next post gets you into the core code , Welcome to Android.

Advertisement

2 Comments

  1. good work Sid……Doing a very good job.

  2. Hey, thanks for the info. Gud job. keep going…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.