Permalink
Browse files

Updated project to build with latest versions of the Android SDK and …

…required libraries.
  • Loading branch information...
jjc1138
jjc1138 committed May 7, 2012
1 parent dd93ee8 commit 9664975954ca5d88821cb1ab6af37c88b8e2f375
Showing with 33 additions and 25 deletions.
  1. +4 −5 .classpath
  2. +0 −13 default.properties
  3. +3 −0 libs/Required Libraries.txt
  4. +3 −0 lint.xml
  5. +16 −0 project.properties
  6. +7 −7 src/net/jjc1138/android/twitter/Fetcher.java
View
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="lib" path="libs/commons-lang-2.4.jar"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="lib" path="libs/signpost-commonshttp4-1.2.1.1.jar"/>
<classpathentry kind="lib" path="libs/signpost-core-1.2.1.1.jar"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
View

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,3 @@
commons-lang3-3.1.jar
signpost-commonshttp4-1.2.1.2.jar
signpost-core-1.2.1.2.jar
View
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>
View
@@ -0,0 +1,16 @@
# 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
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-15
@@ -1,6 +1,6 @@
package net.jjc1138.android.twitter;
import static org.apache.commons.lang.StringEscapeUtils.unescapeHtml;
import static org.apache.commons.lang3.StringEscapeUtils.unescapeHtml4;
import java.io.BufferedReader;
import java.io.FileOutputStream;
@@ -468,7 +468,7 @@ void endElement() {
} else if (pathEquals(createdAtPath)) {
try {
createdAt = twitterDateFormat.parse(
unescapeHtml(getCurrentText()));
unescapeHtml4(getCurrentText()));
} catch (ParseException e) {
createdAt = new Date(System.currentTimeMillis());
}
@@ -479,9 +479,9 @@ void endElement() {
}
updateLast(id);
} else if (pathEquals(textPath)) {
text = newLinesToSpaces(unescapeHtml(getCurrentText()));
text = newLinesToSpaces(unescapeHtml4(getCurrentText()));
} else if (pathEquals(screenNamePath)) {
screenName = unescapeHtml(getCurrentText());
screenName = unescapeHtml4(getCurrentText());
}
}
}
@@ -527,7 +527,7 @@ void endElement() {
} else if (pathEquals(createdAtPath)) {
try {
createdAt = twitterDateFormat.parse(
unescapeHtml(getCurrentText()));
unescapeHtml4(getCurrentText()));
} catch (ParseException e) {
createdAt = new Date(System.currentTimeMillis());
}
@@ -538,9 +538,9 @@ void endElement() {
}
lastMessage = Math.max(lastMessage, id);
} else if (pathEquals(textPath)) {
text = newLinesToSpaces(unescapeHtml(getCurrentText()));
text = newLinesToSpaces(unescapeHtml4(getCurrentText()));
} else if (pathEquals(screenNamePath)) {
screenName = unescapeHtml(getCurrentText());
screenName = unescapeHtml4(getCurrentText());
}
}
}

0 comments on commit 9664975

Please sign in to comment.