added android:installLocation="internalOnly" tag to the manifest because the app is a widget, and uses services as recommended by the android developer site
This commit is contained in:
@@ -5,11 +5,11 @@
|
|||||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||||
<classpathentry kind="lib" path="libs/twitter4j-core-2.1.11.jar"/>
|
<classpathentry kind="lib" path="libs/twitter4j-core-2.1.11.jar"/>
|
||||||
<classpathentry kind="src" path="FacebookLib_src"/>
|
<classpathentry kind="src" path="FacebookLib_src"/>
|
||||||
<classpathentry kind="src" path="LocationLib_src"/>
|
|
||||||
<classpathentry kind="lib" path="/LocationLib/lib/wpsapi.jar">
|
<classpathentry kind="lib" path="/LocationLib/lib/wpsapi.jar">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="javadoc_location" value="http://tcdevsvn1/ShyHookdocumentation"/>
|
<attribute name="javadoc_location" value="http://tcdevsvn1/ShyHookdocumentation"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
|
<classpathentry kind="src" path="LocationLib_src"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.TwentyCodes.android.TravelPost" android:versionName="0.0.0" android:versionCode="5">
|
package="com.TwentyCodes.android.TravelPost" android:versionName="0.0.0" android:versionCode="5" android:installLocation="internalOnly">
|
||||||
|
|
||||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
|
||||||
@@ -1,8 +1,5 @@
|
|||||||
package com.TwentyCodes.android.Facebook;
|
package com.TwentyCodes.android.Facebook;
|
||||||
|
|
||||||
import org.json.JSONException;
|
|
||||||
import org.json.JSONObject;
|
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
@@ -14,9 +11,8 @@ import com.TwentyCodes.android.Facebook.SessionEvents.LogoutListener;
|
|||||||
import com.facebook.android.AsyncFacebookRunner;
|
import com.facebook.android.AsyncFacebookRunner;
|
||||||
import com.facebook.android.DialogError;
|
import com.facebook.android.DialogError;
|
||||||
import com.facebook.android.Facebook;
|
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.Facebook.DialogListener;
|
||||||
|
import com.facebook.android.FacebookError;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class handles SSO for facebook.
|
* This class handles SSO for facebook.
|
||||||
|
|||||||
Reference in New Issue
Block a user