I use Eclipse as development tool. Here is my hello world code:

package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
//import android.widget.TextView;

public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //TextView tv = new TextView(this);
        //tv.setText("Hello, Android");
        //setContentView(tv);
    }
}

the Hello, Android just didn't show in the emulator screen, why?
I had JDK1.6, SDK2.0, and set the enviroment path and classpath. I
don't understand why can't it show in the emulator.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to