Hi All,

I am following the hello world example and when I run it through
eclipse, the emulater starts showing android...
then it comes in to the system and asks me to press menu to unlock.
When I do it, it justs unlocks but there no helloworld or application
window, just the normal android desktop!!!!! Am I missing somthing??

Following is the code I am running (which is the copy of the example)

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);
        //setContentView(R.layout.main);
    }
}

Why isnt the helloworld window coming?? Any help plss

Fahd

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to