have you hit MENU on the emulator window? On mine it normally says,
"Locked, hit MENU to unlock".


On Dec 21, 8:04 am, Sanjeev <[email protected]> wrote:
> Hi,
> I tried to execute a simple Hello World program, but the screen only shows
> "ANDROID" irrespective of what string I type. I am not sure how to fix this
> issue.
>
> I am following the code 
> inhttp://developer.android.com/guide/tutorials/hello-world.html
>
> package com.android.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);*
>    }
>
> }
>
> No matter what I set the string I always see only "ANDROID" string on
> the simulator.
>
> Regards,
> Sanjeev

-- 
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