Facebook login on Android

After the user logs in using their facebook credentials, The user is shown an authorization screen with two buttons on the bottom:"Skip" and "Ok". How do I detect that the user clicked on the Skip button? It seems the session is opened for both actions.

 Session.openActiveSession(this, true, new Session.StatusCallback() {
            @Override public void call(final Session session, SessionState state, Exception exception) {
                if (session.isOpened()) {
                    Request.newMeRequest(session, new Request.GraphUserCallback() {
                        @Override public void onCompleted(GraphUser user, Response response)               {
Log.d(TAG,"session is open");
                } else {
                    Log.d(TAG, "session is closed");



this mean user click close or Skip button

if user allowed permissions request by your app before (text description of permission like you're already allowed permissions), Skip and OK button are one

Need Your Help

Maven - Generating JARs GPG signatures

java maven jar gnupg sonatype

I'm new with both Maven and uploading things to Sonatype, so the error may be evident but it's hiding well from me. I'm trying to upload an artifact.

Android Market Publishing Issues

android manifest google-play

I have an app which I have just updated to froyo to take advantage of