From 8a3082c6750064eaab3e0a63816f136bb061b6c6 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Wed, 7 Mar 2012 15:20:12 -0800 Subject: More changes to the test projects. Change-Id: I823bcc19b7de6cea4c985f2c01feccddd6f8022d --- testapps/legacyTest/.classpath | 9 ++++++ testapps/legacyTest/.project | 33 +++++++++++++++++++++ testapps/legacyTest/AndroidManifest.xml | 23 ++++++++++++++ testapps/legacyTest/ECLIPSEONLY | 0 testapps/legacyTest/SUCCESS | 0 testapps/legacyTest/libs/basicJar.jar | Bin 0 -> 1788 bytes testapps/legacyTest/project.properties | 14 +++++++++ testapps/legacyTest/res/drawable-hdpi/icon.png | Bin 0 -> 4147 bytes testapps/legacyTest/res/drawable-ldpi/icon.png | Bin 0 -> 1723 bytes testapps/legacyTest/res/drawable-mdpi/icon.png | Bin 0 -> 2574 bytes testapps/legacyTest/res/layout/main.xml | 15 ++++++++++ testapps/legacyTest/res/values/strings.xml | 6 ++++ .../android/tests/javaprojecttest/app/Main.java | 19 ++++++++++++ 13 files changed, 119 insertions(+) create mode 100644 testapps/legacyTest/.classpath create mode 100644 testapps/legacyTest/.project create mode 100644 testapps/legacyTest/AndroidManifest.xml create mode 100644 testapps/legacyTest/ECLIPSEONLY create mode 100644 testapps/legacyTest/SUCCESS create mode 100644 testapps/legacyTest/libs/basicJar.jar create mode 100644 testapps/legacyTest/project.properties create mode 100644 testapps/legacyTest/res/drawable-hdpi/icon.png create mode 100644 testapps/legacyTest/res/drawable-ldpi/icon.png create mode 100644 testapps/legacyTest/res/drawable-mdpi/icon.png create mode 100644 testapps/legacyTest/res/layout/main.xml create mode 100644 testapps/legacyTest/res/values/strings.xml create mode 100644 testapps/legacyTest/src/com/android/tests/javaprojecttest/app/Main.java (limited to 'testapps/legacyTest') diff --git a/testapps/legacyTest/.classpath b/testapps/legacyTest/.classpath new file mode 100644 index 0000000..1f92faf --- /dev/null +++ b/testapps/legacyTest/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/testapps/legacyTest/.project b/testapps/legacyTest/.project new file mode 100644 index 0000000..3e2af0e --- /dev/null +++ b/testapps/legacyTest/.project @@ -0,0 +1,33 @@ + + + legacyTest + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/testapps/legacyTest/AndroidManifest.xml b/testapps/legacyTest/AndroidManifest.xml new file mode 100644 index 0000000..36ec8fb --- /dev/null +++ b/testapps/legacyTest/AndroidManifest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testapps/legacyTest/ECLIPSEONLY b/testapps/legacyTest/ECLIPSEONLY new file mode 100644 index 0000000..e69de29 diff --git a/testapps/legacyTest/SUCCESS b/testapps/legacyTest/SUCCESS new file mode 100644 index 0000000..e69de29 diff --git a/testapps/legacyTest/libs/basicJar.jar b/testapps/legacyTest/libs/basicJar.jar new file mode 100644 index 0000000..6be0e7d Binary files /dev/null and b/testapps/legacyTest/libs/basicJar.jar differ diff --git a/testapps/legacyTest/project.properties b/testapps/legacyTest/project.properties new file mode 100644 index 0000000..0840b4a --- /dev/null +++ b/testapps/legacyTest/project.properties @@ -0,0 +1,14 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-15 diff --git a/testapps/legacyTest/res/drawable-hdpi/icon.png b/testapps/legacyTest/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8074c4c Binary files /dev/null and b/testapps/legacyTest/res/drawable-hdpi/icon.png differ diff --git a/testapps/legacyTest/res/drawable-ldpi/icon.png b/testapps/legacyTest/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..1095584 Binary files /dev/null and b/testapps/legacyTest/res/drawable-ldpi/icon.png differ diff --git a/testapps/legacyTest/res/drawable-mdpi/icon.png b/testapps/legacyTest/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..a07c69f Binary files /dev/null and b/testapps/legacyTest/res/drawable-mdpi/icon.png differ diff --git a/testapps/legacyTest/res/layout/main.xml b/testapps/legacyTest/res/layout/main.xml new file mode 100644 index 0000000..3e65644 --- /dev/null +++ b/testapps/legacyTest/res/layout/main.xml @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/testapps/legacyTest/res/values/strings.xml b/testapps/legacyTest/res/values/strings.xml new file mode 100644 index 0000000..705a565 --- /dev/null +++ b/testapps/legacyTest/res/values/strings.xml @@ -0,0 +1,6 @@ + + + + javaProjectTest-app + + \ No newline at end of file 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 -- cgit v1.1