aboutsummaryrefslogtreecommitdiff
path: root/testapps/legacyTest
diff options
context:
space:
mode:
Diffstat (limited to 'testapps/legacyTest')
-rw-r--r--testapps/legacyTest/.classpath9
-rw-r--r--testapps/legacyTest/.project33
-rw-r--r--testapps/legacyTest/AndroidManifest.xml23
-rw-r--r--testapps/legacyTest/ECLIPSEONLY0
-rw-r--r--testapps/legacyTest/SUCCESS0
-rw-r--r--testapps/legacyTest/libs/basicJar.jarbin0 -> 1791 bytes
-rw-r--r--testapps/legacyTest/project.properties14
-rw-r--r--testapps/legacyTest/res/drawable-hdpi/icon.pngbin0 -> 4147 bytes
-rw-r--r--testapps/legacyTest/res/drawable-ldpi/icon.pngbin0 -> 1723 bytes
-rw-r--r--testapps/legacyTest/res/drawable-mdpi/icon.pngbin0 -> 2574 bytes
-rw-r--r--testapps/legacyTest/res/layout/main.xml15
-rw-r--r--testapps/legacyTest/res/values/strings.xml6
-rw-r--r--testapps/legacyTest/src/com/android/tests/javaprojecttest/app/Main.java19
13 files changed, 119 insertions, 0 deletions
diff --git a/testapps/legacyTest/.classpath b/testapps/legacyTest/.classpath
new file mode 100644
index 000000000..1f92fafbf
--- /dev/null
+++ b/testapps/legacyTest/.classpath
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry kind="lib" path="libs/basicJar.jar"/>
+ <classpathentry kind="output" path="bin/classes"/>
+</classpath>
diff --git a/testapps/legacyTest/.project b/testapps/legacyTest/.project
new file mode 100644
index 000000000..3e2af0ea7
--- /dev/null
+++ b/testapps/legacyTest/.project
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>legacyTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/testapps/legacyTest/AndroidManifest.xml b/testapps/legacyTest/AndroidManifest.xml
new file mode 100644
index 000000000..36ec8fb11
--- /dev/null
+++ b/testapps/legacyTest/AndroidManifest.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.tests.javaprojecttest.app"
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk android:minSdkVersion="15" />
+
+ <application
+ android:icon="@drawable/icon"
+ android:label="@string/app_name" >
+ <activity
+ android:name="com.android.tests.javaprojecttest.app.Main"
+ android:label="@string/app_name" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest> \ No newline at end of file
diff --git a/testapps/legacyTest/ECLIPSEONLY b/testapps/legacyTest/ECLIPSEONLY
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testapps/legacyTest/ECLIPSEONLY
diff --git a/testapps/legacyTest/SUCCESS b/testapps/legacyTest/SUCCESS
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/testapps/legacyTest/SUCCESS
diff --git a/testapps/legacyTest/libs/basicJar.jar b/testapps/legacyTest/libs/basicJar.jar
new file mode 100644
index 000000000..319ed0245
--- /dev/null
+++ b/testapps/legacyTest/libs/basicJar.jar
Binary files differ
diff --git a/testapps/legacyTest/project.properties b/testapps/legacyTest/project.properties
new file mode 100644
index 000000000..0840b4a05
--- /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 000000000..8074c4c57
--- /dev/null
+++ b/testapps/legacyTest/res/drawable-hdpi/icon.png
Binary files differ
diff --git a/testapps/legacyTest/res/drawable-ldpi/icon.png b/testapps/legacyTest/res/drawable-ldpi/icon.png
new file mode 100644
index 000000000..1095584ec
--- /dev/null
+++ b/testapps/legacyTest/res/drawable-ldpi/icon.png
Binary files differ
diff --git a/testapps/legacyTest/res/drawable-mdpi/icon.png b/testapps/legacyTest/res/drawable-mdpi/icon.png
new file mode 100644
index 000000000..a07c69fa5
--- /dev/null
+++ b/testapps/legacyTest/res/drawable-mdpi/icon.png
Binary files differ
diff --git a/testapps/legacyTest/res/layout/main.xml b/testapps/legacyTest/res/layout/main.xml
new file mode 100644
index 000000000..3e65644f0
--- /dev/null
+++ b/testapps/legacyTest/res/layout/main.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/basicJar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="\\?"
+ tools:ignore="HardcodedText" />
+
+</LinearLayout> \ 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 000000000..705a56504
--- /dev/null
+++ b/testapps/legacyTest/res/values/strings.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">javaProjectTest-app</string>
+
+</resources> \ 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 000000000..5790753f7
--- /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