Hi,
Following the tutorial I wrote the hello world application shown below
and eclipse shows the console messages shown at the bottom. Problem
is the emulator launched just has normal graphical display and does
not show the message "Hello, Android".
package com.rosewoodhillfarm.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);
}
}
[2009-11-05 12:37:57 - Android Project]------------------------------
[2009-11-05 12:37:57 - Android Project]Android Launch!
[2009-11-05 12:37:57 - Android Project]adb is running normally.
[2009-11-05 12:37:57 - Android Project]Performing
com.rosewoodhillfarm.helloandroid.HelloAndroid activity launch
[2009-11-05 12:37:57 - Android Project]Automatic Target Mode:
Preferred AVD 'my_avd' is not available. Launching new emulator.
[2009-11-05 12:37:57 - Android Project]Launching a new emulator with
Virtual Device 'my_avd'
[2009-11-05 12:38:01 - Android Project]New emulator found:
emulator-5554
[2009-11-05 12:38:01 - Android Project]Waiting for HOME
('android.process.acore') to be launched...
[2009-11-05 12:38:34 - Android Project]HOME is up on device
'emulator-5554'
[2009-11-05 12:38:34 - Android Project]Uploading Android Project.apk
onto device 'emulator-5554'
[2009-11-05 12:38:34 - Android Project]Installing Android
Project.apk...
[2009-11-05 12:38:48 - Android Project]Success!
[2009-11-05 12:38:48 - Android Project]Starting activity
com.rosewoodhillfarm.helloandroid.HelloAndroid on device
[2009-11-05 12:38:56 - Android Project]ActivityManager: Starting:
Intent { cmp=com.rosewoodhillfarm.helloandroid/.HelloAndroid }
--
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