Hi All,
this is my first contact in the forum.
Well, here is the question: when I run the simple code below, instead
the result be a string "Hello Android", I see a scream of a phone and
a text: "A N D R O I D _". And doesn't matter the code I do, the
result is the same. What's wrong?
package com.exemplo;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelloActivity 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);
}
}
--
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