This project showcases how Tumblr Sharing can be integrated into your Android App. This is a simple Nearby Photos app which uses the user’s location to display a feed of public Flickr photos that have been taken in the same area. On clicking on a photo, it will show the user a detailed view of the photo. Here on clicking on the Tumblr icon, you can share the Flickr photo to your Tumblr feed.
- Integration of Tumblr Sharing - Demonstrates integration of Flurry Tumblr in-app Sharing
- Android Studio
- Android SDK Platform Tools r21 or later
- Android SDK Build Tools r21 or later
- Runtime of Android 4.0.3 (API 15) or later
- Flickr API key - To get this API key, follow instructions here.
- Flurry Analytics and Ads SDK (6.0.0 and up)
- Flurry API key - To get this API key, follow instructions here.
- Tumblr API key and secret - To get this API key, first register your app. Follow instructions here.
- This app uses two third party libraries -
- Picasso - For remote image loading
- Android AsyncHTTPClient - For asynchronous network requests
- Clone your repository and open the project in Android Studio.
- Add your Flickr API key in FlickrClient.java
- Add your Flurry API key in FlurryAnalyticsSampleAndroidApp.java
- Add your Tumblr API key and secret in PhotoDetailActivity.java
- Log into www.flurry.com and navigate to YourApplication > Manage. Select App Info. In the Application Info panel, click Enable content sharing.
- Build project and launch on emulator or device.
Note - If using an emulator, make sure to enable GPS.
For more info on getting started with Flurry for Android, see here.
For more info on enabling Tumblr In-App Sharing, see here
Copyright 2015 Yahoo Inc.
Licensed under the terms of the zLib license. Please see LICENSE file for terms.