This document refers to the Android SDK v3. For the new Android SDK v4 please see our new Android docs.
This is a major update to the Android SDK that includes a new Share Dialog and support for the Object API to Android. We also added support for App Events (beta) with this SDK release.
The Share Dialog offers a lightweight and consistent way to enable content sharing from your app. People can now share activity from your apps without having to login to Facebook first.
This eliminates up to three extra steps required for login when sharing via the feed dialog. With just one line of code, you can enable people to start sharing in an engaging way that lets them tag friends and share where they are. In addition, the Share Dialog includes support for publishing Open Graph actions to make it easier for people to tell their stories.
We now make it easier to integrate Open Graph into your Android apps with Object API. With this API, you can directly create Open Graph objects and no longer need to host webpages with Open Graph tags.
Learn more about getting started with the Object API.
You can now to publish and measure app events for your Android apps. Previous versions of the SDK allowed developers and advertisers to measure installs driven from our mobile app install ads product.
With app events, you can now also measure the aggregate number of times a predefined action was taken within your app, such as 'add to cart' in a commerce app, 'level achieved' in a game, or other custom events that help you understand the engagement and ROI coming from your mobile ads on Facebook.
Over the next several months, we will be working on improving our optimization and insights and developing new features that will further leverage app events.
We are launching App User ID for custom audiences. With this feature, you can reach people who have taken specific actions in your Android app (such as installs or purchases) by defining an App User ID, and uploading this encrypted list in to our ads tool as a custom audience.
Both app events, and ‘app user ID’ custom audiences are great features for apps that run mobile app install ads. We are always trying to add more features to the SDK that provide better mobile targeting and measurement capabilities for Android apps.
Learn more about app events (beta).
The updated Facebook Login UI looks better, and our tests also show it converts at a higher rate. We’ve refreshed the design in the LoginButton control and changed the default text to read - "Log in with Facebook." Your apps can benefit from the redesigned UI without any code changes, and you can still override the default text via localization.
We’ve updated our Android Dev Center so you can quickly access the tools and resources you need to build great apps. Start developing today to take advantage of these powerful new features. Share your feedback with us on Facebook's Stack Overflow page with the tag: Facebook-android-sdk.