android - How to call events when using the "Logout" facebook button? -


i have login button in sample hellofacebookactivity facebook.

after login successfully, button switch status "logout"

when click on "logout" facebook button, logged out correctly. want add event when user clicks "logout" button handle logic code... should do?

thank you.

edit: use sdk android native

use following logout session

session session = session.getactivesession(); session.closeandcleartokeninformation() 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -