Wait for a while until the emulator settle-down? It takes a while for
Android emulator to load.
If this doesn't work, try to set a breakpoint in your debugger to see
what happened.
On Nov 19, 3:29 am, Neel <[EMAIL PROTECTED]> wrote:
> Hi,
> I tried running the sample, Hello Android, app given on Android's
> site.
> I didn't work for me. It shows me an emulator with Android written on
> it.
> Means, my code doesnt get executed.
>
> The code is same as on the site...
>
> package com.android.hello;
>
> 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);
> }
>
> }
>
> Do I need to make any changes in this?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---