You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
433 B
17 lines
433 B
13 years ago
|
package com.mbh;
|
||
|
|
||
|
import android.app.Activity;
|
||
|
import android.os.Bundle;
|
||
13 years ago
|
import android.widget.TextView;
|
||
13 years ago
|
|
||
13 years ago
|
public class HelloAndroid extends Activity {
|
||
13 years ago
|
/** Called when the activity is first created. */
|
||
|
@Override
|
||
13 years ago
|
public void onCreate(Bundle savedInstanceState) {
|
||
13 years ago
|
super.onCreate(savedInstanceState);
|
||
13 years ago
|
TextView tv = new TextView(this);
|
||
|
tv.setText("Hello, Android");
|
||
|
setContentView(tv);
|
||
13 years ago
|
}
|
||
|
}
|