2012-06-10 16:43:43 +02:00
|
|
|
package com.example.helloworld;
|
|
|
|
|
|
|
|
import android.app.Activity;
|
|
|
|
import android.os.Bundle;
|
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
|
|
public class HelloWorld extends Activity {
|
2021-05-20 23:26:43 -05:00
|
|
|
|
2012-06-10 16:43:43 +02:00
|
|
|
@Override
|
|
|
|
public void onCreate(Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
TextView tv = new TextView(this);
|
2020-03-30 04:21:52 +13:00
|
|
|
tv.setText("Hello World");
|
2012-06-10 16:43:43 +02:00
|
|
|
setContentView(tv);
|
|
|
|
}
|
|
|
|
}
|