Permalink
Browse files

Create a library project for the Last.fm API library, removing the ug…

…ly symblink requirements
  • Loading branch information...
1 parent e024c0c commit 734881790f75e43637826c2c53ffab1f7dbe96b3 Sam Steele committed Jun 4, 2010
View
7 .gitignore
@@ -1,13 +1,10 @@
app/bin
app/gen
app/src/fm/last/android/PrivateAPIKey.java
-app/src/fm/last/android/utils/utils
-app/src/fm/last/api
-app/src/fm/last/util
-app/src/fm/last/xml
-app/.externalToolBuilders
app/assets
LastFmAuthTest/bin
LastFmAuthTest/gen
+library/bin
+library/gen
*.apk
*.keystore
View
3 app/.classpath
@@ -3,6 +3,7 @@
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
- <classpathentry kind="lib" path="libs/libGoogleAnalytics.jar"/>
+ <classpathentry kind="lib" path="/LastFmAPI/libs/libGoogleAnalytics.jar"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/LastFmAPI"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
1 app/default.properties
@@ -9,6 +9,7 @@
# Indicates whether an apk should be generated for each density.
split.density=false
+android.library.reference.1=../../../../../Projects/lastfm-android/library/
# Project target.
target=android-8
apk-configurations=
View
0 library/src/fm/last/api/Session.aidl → app/src/fm/last/api/Session.aidl
File renamed without changes.
View
0 library/src/fm/last/api/WSError.aidl → app/src/fm/last/api/WSError.aidl
File renamed without changes.
View
6 library/.classpath
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="lib" path="libs/libGoogleAnalytics.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
18 library/.project
@@ -1,17 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>lastfm-api</name>
+ <name>LastFmAPI</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>
View
12 library/AndroidManifest.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="fm.last.api"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:icon="@drawable/icon" android:label="@string/app_name">
+
+
+ </application>
+
+
+</manifest>
View
12 library/default.properties
@@ -0,0 +1,12 @@
+# 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 use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+android.library=true
+# Project target.
+target=android-8
View
0 app/libs/libGoogleAnalytics.jar → library/libs/libGoogleAnalytics.jar
File renamed without changes.
View
BIN library/res/drawable-hdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN library/res/drawable-ldpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN library/res/drawable-mdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
12 library/res/layout/main.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+<TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/hello"
+ />
+</LinearLayout>
View
5 library/res/values/strings.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Hello World!</string>
+ <string name="app_name">LastFmAPI</string>
+</resources>

0 comments on commit 7348817

Please sign in to comment.