aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-12-06 15:52:43 -0800
committerXavier Ducrohet <xav@android.com>2010-12-06 15:52:43 -0800
commit525ef2584a3d8e1d416852121112ed752bc7d497 (patch)
tree71995d681316f77da88cffea833ee6f473f62c79 /testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java
parent90b6045294b33e87e972a49f587f1e2e78686c9a (diff)
downloadsdk-525ef2584a3d8e1d416852121112ed752bc7d497.zip
sdk-525ef2584a3d8e1d416852121112ed752bc7d497.tar.gz
sdk-525ef2584a3d8e1d416852121112ed752bc7d497.tar.bz2
Update test apps and bundle them in the meta sdk.
- make it so that layout display something about the project, and possibly the result of calling out to class coming from jar files. - make the activity names on the launcher to be the name of the projects. Change-Id: I318255c3284337be28220df509630cfff4eae38b
Diffstat (limited to 'testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java')
-rw-r--r--testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java b/testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java
index f973cc2..e45470b 100644
--- a/testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java
+++ b/testapps/basicLibWithJar/src/com/android/tests/basiclibwithjar/Main.java
@@ -4,6 +4,7 @@ import com.android.tests.basicjar.Foo;
import android.app.Activity;
import android.os.Bundle;
+import android.widget.TextView;
public class Main extends Activity
{
@@ -17,5 +18,8 @@ public class Main extends Activity
Foo foo = new Foo();
int a = foo.getRandomFoo();
+ TextView tv = (TextView) findViewById(R.id.text);
+ tv.setText("Random number from Jar: " + a);
+
}
}