From 54cb2b8f04562b221bb9e4c66152e6ae8882600c Mon Sep 17 00:00:00 2001 From: ricky barrette Date: Fri, 4 Feb 2011 23:26:29 +0000 Subject: [PATCH] added android:installLocation="internalOnly" tag to the manifest because the app is a widget, and uses services as recommended by the android developer site --- TravelPost/.classpath | 2 +- TravelPost/AndroidManifest.xml | 2 +- TravelPost/ChangeLog.txt | 21 ------------------- .../android/Facebook/FacebookAuth.java | 6 +----- 4 files changed, 3 insertions(+), 28 deletions(-) diff --git a/TravelPost/.classpath b/TravelPost/.classpath index a66f012..9affd71 100644 --- a/TravelPost/.classpath +++ b/TravelPost/.classpath @@ -5,11 +5,11 @@ - + diff --git a/TravelPost/AndroidManifest.xml b/TravelPost/AndroidManifest.xml index 1a51242..4981fce 100644 --- a/TravelPost/AndroidManifest.xml +++ b/TravelPost/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.TwentyCodes.android.TravelPost" android:versionName="0.0.0" android:versionCode="5" android:installLocation="internalOnly"> diff --git a/TravelPost/ChangeLog.txt b/TravelPost/ChangeLog.txt index f936d2d..e69de29 100644 --- a/TravelPost/ChangeLog.txt +++ b/TravelPost/ChangeLog.txt @@ -1,21 +0,0 @@ -created FacebokAuth.java - -created package com.TwentyCodes.android.Facebook in TravelPost. -moved FacebookAuth.java to package. - -created SessionStore.java and SessionEvents.java in Facebook package -created BaseRequestListener.java and BaseDialogListener.java in Facebook package. - -modified FacebookAuth.java again. this file will be the object that interfaces with the facebook sdk. -modified FacebookAuth.postToWall(). testing now - -added facebook sign in preference to R.xml.settings. currently Travel Post is acting like Your Mom. this should be changed before final testing. - -currently app crashes. i don't have enough time to check trace but i sent an email. for now im saving work and will continue tomorrow. -the FC was related to onActivityForResult(). there was a string authcode that needed to be surrended with a null check as its either null or containing data. -it is null when twitter is not used. - -all classes are integrated into Travel Post. as of right now I can post to my wall from Travel Post but it requires user interaction. -committing work so far and will continue to remove user interaction. - -increased build but not version as facebook is not complete yet. \ No newline at end of file diff --git a/TravelPost/src/com/TwentyCodes/android/Facebook/FacebookAuth.java b/TravelPost/src/com/TwentyCodes/android/Facebook/FacebookAuth.java index 3172bc3..4c60445 100644 --- a/TravelPost/src/com/TwentyCodes/android/Facebook/FacebookAuth.java +++ b/TravelPost/src/com/TwentyCodes/android/Facebook/FacebookAuth.java @@ -1,8 +1,5 @@ package com.TwentyCodes.android.Facebook; -import org.json.JSONException; -import org.json.JSONObject; - import android.app.Activity; import android.content.Context; import android.os.Bundle; @@ -14,9 +11,8 @@ import com.TwentyCodes.android.Facebook.SessionEvents.LogoutListener; import com.facebook.android.AsyncFacebookRunner; import com.facebook.android.DialogError; import com.facebook.android.Facebook; -import com.facebook.android.FacebookError; -import com.facebook.android.Util; import com.facebook.android.Facebook.DialogListener; +import com.facebook.android.FacebookError; /** * This class handles SSO for facebook.