I am developing an android application, Generally application contains a login screen, In my application there will be no log in screen, there will be a single icon e.g Facebook icon. If I press that icon it should directly login with the Facebook user name and password and it should log in to the application. Can any one give me suggestion on this?
I am developing an android application, Generally application contains a login screen, In my
Share
Yes You can do that but Only one condition is that you have to Integrate Single-Sign-On into your Application and also you should have Facebook Native App in your Mobile.
Download the Facebook book SDK from this Link.
After downloading follow this Steps
Register your Application in Facebook Account.
Then Create Set up Login Pages as in the Steps.
Create Hash Key for enabling Single-Sign-On using Keytool.
Note : If you want to start you App without providing Login details , Facebook Native App should be installed and Logged In.
Else you will asked for Login very First time , next time your App will Launch Automatically without asking for Login Credentials.
This also depends on Access Token so , handle it accordingly.
For more reference on Access Token