Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cc.omora;
- import android.app.Activity;
- import android.os.Bundle;
- import android.widget.TextView;
- public class HelloAndroid 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);
- }
- }
Add Comment
Please, Sign In to add comment