added logs to FacebookActivity.onComplete()

onComplete() is being called but still the activity is not finishing. When you hit back it works as expected.
I've tried adding flags to the calling intent, intializing all lifecycle methods and even arranging the order things are called.

I have tried these intent flags so far:
FLAG_ACTIVITY_NO_HISTORY
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TASK
This commit is contained in:
warren powers
2011-07-07 19:44:55 +00:00
parent d2fa3a0cc6
commit 13aec96feb
15 changed files with 97 additions and 51 deletions

View File

@@ -1,9 +1,9 @@
created FacebookActivity.java and facebookactivity.xml. this activity is designed to assist with context issues during facebook authorization for the initial authorization.
also modified TravelPostMain.java to fire an intent for this activity.
added logs to FacebookActivity.onComplete()
currently works. facebook authorized. saves the settings. only issue is you get a black screen aftwords. if you hit back all is good.
onComplete() is being called but still the activity is not finishing. When you hit back it works as expected.
I've tried adding flags to the calling intent, intializing all lifecycle methods and even arranging the order things are called.
TODO:
log the onComplete method in facebookactivity to see what is happening.
twitter authorization.
finish widget and posting to sites.
I have tried these intent flags so far:
FLAG_ACTIVITY_NO_HISTORY
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TASK