Wednesday, 24 July 2013

Android Simple Hello World Application

Andrid Hello World

Steps to Create Above like HelloWorld Application in Android
  1. Create New > Android Application in Eclipse android will create all necessary files and configuration.
  2. Give name of your application HelloWorld as per java standard
  3. Modify Your main.xml file as given below

     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"  
       xmlns:tools="http://schemas.android.com/tools"  
       android:layout_width="match_parent"  
       android:layout_height="match_parent"  
       tools:context=".MainActivity" >  
       
       <TextView  
         android:layout_width="wrap_content"  
         android:layout_height="wrap_content"  
         android:layout_centerHorizontal="true"  
         android:layout_centerVertical="true"  
         android:textSize="30dp"  
         android:text="Hello world" />  
       
     </RelativeLayout>  
    
  4. Now Build and Run project in Android Virtual Device(AVD)


Download HelloWorld Source Code




My Android Applications

Download Hanuman HD Wallpaper on Google Play

Download Live Currency Exchange Rates on Google Play

Download iSIM Info on Google Play

Download Find Droid on Google Play