I am pretty sure u need to have the create activity box ticked in
eclipse and the app will run

On Jun 9, 7:07 am, Sheng-Yi Shih <[email protected]> wrote:
>
>
>     I also have the same problem. When I ran this program, it just launch
> the android emulator
> and showed nothing but the android on the screen. There is no "Hello
> Android" on the screen.
> I tried to press all the keys on the screen but there is still no reaction.
> The code i am running is as
> follows. I also put the log here. Please help me to figure out how to start
> from here. Thanks.
>
> Jude
>
> --------------------
> Log
> [2009-06-08 22:56:40 - HelloWorld1] ------------------------------
> [2009-06-08 22:56:40 - HelloWorld1] Android Launch!
> [2009-06-08 22:56:40 - HelloWorld1] adb is running normally.
> [2009-06-08 22:56:40 - HelloWorld1] Performing com.example.HelloWorld1.hello
> activity launch
> [2009-06-08 22:56:40 - HelloWorld1] Automatic Target Mode: launching new
> emulator with compatible AVD 'adv15'
> [2009-06-08 22:56:40 - HelloWorld1] Launching a new emulator with Virtual
> Device 'adv15'
> [2009-06-08 22:56:47 - HelloWorld1] New emulator found: emulator-5554
> [2009-06-08 22:56:47 - HelloWorld1] Waiting for HOME
> ('android.process.acore') to be launched...
>
> Code
>
> package com.example.HelloWorld1;
>
> import android.app.Activity;
> import android.os.Bundle;
>
> import android.widget.TextView;
>
> public class hello 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);
>    }
>
> }
>
> 2009/6/8 Jack Ha <[email protected]>
>
>
>
>
>
> > Do you see any error messages in the Console?
>
> > --
> > Jack Ha
> > Open Source Development Center
> > ・T・ ・ ・Mobile・ stick together
>
> > The views, opinions and statements in this email are those of
> > the author solely in their individual capacity, and do not
> > necessarily represent those of T-Mobile USA, Inc.
>
> > On Jun 6, 7:03 pm, Fahd <[email protected]> wrote:
> > > 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 Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to