I would like to implement an android app requires facebook login in the beginning. As I declare the facebook object in main activity and want to invoke facebook.authorize in another activity, but I can't put the facebook object to intent, is there other way to achieve this?
Here is the flow: When the app is first opened, a main activity is opened. It will then check if the access token is set, if no, a new activity is started to let user login. In that activity there are some login option and a login button. If user press the login button, facebook api is called to do the login.