aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/legacyTest/src/com/android/tests
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-03-07 15:20:12 -0800
committerXavier Ducrohet <xav@android.com>2012-03-07 15:46:38 -0800
commit8a3082c6750064eaab3e0a63816f136bb061b6c6 (patch)
tree6234eece3b136b3d7874bec97e160617ec742dc1 /testapps/legacyTest/src/com/android/tests
parentbcf44e9429811b3e1f97d21ea92816957bce2601 (diff)
downloadsdk-8a3082c6750064eaab3e0a63816f136bb061b6c6.zip
sdk-8a3082c6750064eaab3e0a63816f136bb061b6c6.tar.gz
sdk-8a3082c6750064eaab3e0a63816f136bb061b6c6.tar.bz2
More changes to the test projects.
Change-Id: I823bcc19b7de6cea4c985f2c01feccddd6f8022d
Diffstat (limited to 'testapps/legacyTest/src/com/android/tests')
-rw-r--r--testapps/legacyTest/src/com/android/tests/javaprojecttest/app/Main.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/testapps/legacyTest/src/com/android/tests/javaprojecttest/app/Main.java b/testapps/legacyTest/src/com/android/tests/javaprojecttest/app/Main.java
new file mode 100644
index 0000000..5790753
--- /dev/null
+++ b/testapps/legacyTest/src/com/android/tests/javaprojecttest/app/Main.java
@@ -0,0 +1,19 @@
+package com.android.tests.javaprojecttest.app;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+import com.android.tests.basicjar.BasicJar;
+
+public class Main extends Activity {
+ /** Called when the activity is first created. */
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.main);
+
+ TextView tv = (TextView) findViewById(R.id.basicJar);
+ tv.setText("basicJar: " + BasicJar.getContent());
+ }
+} \ No newline at end of file