Android : After Callback from Facebook, Which State will called of my Main Activity? -


I am using Facebook SDK in my Android project and for Login Clicking on that button will enter the callback return on user login and main activity.

All work fine

Now when I am backed up, I have to change the text of that button from logout to logout. How can I do this?

Which call will be named after my main activity back .. What do I mean by resume () or reset?

Please help me in doing this .. and understand how this might be possible ...

i have read enough documentation and tutorials for Android Lifestyle .. but Yet I could not get it anyway to do so.

Thank you, Peacock Parek

So I believe that you do something like this Login to Facebook by:

  mFacebook.authorize (this, blank, requestcode, new Facebook.Di AlogListener () {public void onFacebookError (FacebookError e) {// TODO Auto-generated Method Stub} Error on Public Zero (DialogError e) {// TODO Automatically generated method stub} Public void (bundle value) {// TODO Auto-specified method stub} Public void () on // // From Built-in method stub}});   

If the authentication was done successfully, then the onComplete () method will be called on your DialogListener . Also on your activity I think that the onResume () method is called, but even when it is rejected FacebookDialog It will be called, no matter whether the entry was comfortable or not.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

c# - Confused over DLL entry points (entry point not found exception) -