Translate

Monday, July 28, 2014

Program to display hello world in Android !!

Xml Program to display 'Hello world' on screen

Generally xml coding plays an important role in the popularity of an application . It is because of the fact that it concentrates on graphics and designing. Here we are going to look after the xml program code that is used to display hello world on the emulator/mobile screen.

The coding is ;



</RelativeLayout>

Each statement is a property of xml program. we will discuss it later. And the above program will produce the output like;

    

(Note : This coding is just posted for reference and it is a simple code . When you install and open an new Android application project in Eclipse - IDT, the software will show you the same code and output)

And you can add statements to your application by modifying "android:text="@string/hello_world" />  hello world present in the statement.

For further classifications plz comment below :-)

No comments:

Post a Comment