Permalink
Browse files

Merge pull request #78 from elektronikLexikon/master

add Android hello world app
  • Loading branch information...
2 parents 70b66b4 + 867b438 commit 4c4d25f29fe1e25eee6224a606abf9096351a2e7 @leachim6 committed Jun 10, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 a/android.java
View
@@ -0,0 +1,16 @@
+package com.example.helloworld;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+public class HelloWorld 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, World");
+ setContentView(tv);
+ }
+}

0 comments on commit 4c4d25f

Please sign in to comment.