Android Hello World

Android Hello World

Step 1: File -> New -> Android Application project in eclipse (see “Android in Eclipse article for how to program android in eclipse).

Step 2: Create class file under com.example.helloworld package, and paste the below code.

package com.example.helloworld;

import android.os.Bundle;
import android.provider.Settings.System;
import android.widget.EditText;
import android.widget.TextView;

public class HelloWorld extends Activity {

    public void onCreate(Bundle savedInstanceState) {
        TextView agnPrint = new TextView(this);
       agnPrint.setText("Hello world...!!");




Thanks for reading this post……………!!!

943 total views, 1 views today

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.