I am trying to integrate facebook-connect into my android app. All the examples that I see over the Internet create a connection with Android activity. I am doing something completely different, the user can configure his connection to facebook using user settings. I was successful when I did this for twitter and foursquare. However, the Facebook.authorize method requires an Activity as parameter, and since I'm in preference, I cannot find a link to the activity object.
So my question is how to get a link to activity inside a preference?
Thanks to everyone T
source share