I'm developping an app that uses this : https://developers.facebook.com/docs/android/native-login/
I have followed the Facebook dev tutorial, so basically I have the session check, it opens the dialog, and I'm trying to get the Cancel event (when the user cancel the facebook dialog) but I have no method on this.
Maybe you can help.
Thanks
EDIT: Actually, even if I click the cancel button, I still receive the GraphUser correctly. That's weird.
Add a Session.StatusCallback to your open request where you can check the SessionState.
Check out this question.
With Android SDK 3.5, I got the cancel event via exception, if the state change callback with instance of FacebookOperationCanceledException or FacebookAuthorizationException, its an cancel event:
It works just great