17 lines
383 B
Java
Raw Normal View History

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);
tv.setText("Hello World");
2012-06-10 16:43:43 +02:00
setContentView(tv);
}
}