I have created MyFirstApp according to the developer.android.net tutorial in Eclipse on Windows 7. I can run the application, but when I do I see nothing happen on my Samsung Galaxy 3 device or on the emulator device when I choose that instead as my target.
I thought that somehow the message "Hello World!" was going to be displayed.
Can anybody tell me what may be my problem?
These are the contents of MainActivity.java:
[HIGH]package com.example.myfirstapp;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}[/HIGH]
David

I thought that somehow the message "Hello World!" was going to be displayed.
Can anybody tell me what may be my problem?
These are the contents of MainActivity.java:
[HIGH]package com.example.myfirstapp;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}[/HIGH]
David
