diff options
author | Xavier Ducrohet <xav@android.com> | 2012-03-02 19:23:09 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-03-02 19:30:58 -0800 |
commit | 9834e28a9868d8193df5b6ee4634b999079c2a8a (patch) | |
tree | 968b6b5fb01c270471250777c3f55c629b1e3a14 /testapps/userLibTest/src/com | |
parent | 420f7b22e62d45ff579e700c6456834c0739e37f (diff) | |
download | sdk-9834e28a9868d8193df5b6ee4634b999079c2a8a.zip sdk-9834e28a9868d8193df5b6ee4634b999079c2a8a.tar.gz sdk-9834e28a9868d8193df5b6ee4634b999079c2a8a.tar.bz2 |
Add new test projects.
- test for User Library usage
- test for test project with library.
Change-Id: I49b7d4702937f634a1df907af327a979af09f227
Diffstat (limited to 'testapps/userLibTest/src/com')
-rw-r--r-- | testapps/userLibTest/src/com/android/tests/userlibtest/Main.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testapps/userLibTest/src/com/android/tests/userlibtest/Main.java b/testapps/userLibTest/src/com/android/tests/userlibtest/Main.java new file mode 100644 index 0000000..b2f1be3 --- /dev/null +++ b/testapps/userLibTest/src/com/android/tests/userlibtest/Main.java @@ -0,0 +1,19 @@ +package com.android.tests.userlibtest; + +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()); + } +} |