O'Reilly logo

Android Design Patterns and Best Practice by Kyle Mew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting with Facebook

Not only is Facebook one of the largest social networks, it is also very nicely set up to assist those wishing to promote their products. The ways that this can work varies from providing automatic logins, customizable advertising, and the ability for users to share products they like with others.

To incorporate Facebook features into our Android applications, we will need the Facebook SDK for Android, and to make the most of this we will also need a Facebook App ID, which will require creating a simple app on Facebook:

Connecting with Facebook

Adding the Facebook SDK

The first step in adding Facebook functionality to our apps is to download the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required