Tutorial: Using Flickr API on Android. Accessing images by tag

Hi there!flickr3

Today we start using Flickr API. We will search Flickr for tagged images using your Android device. Let’s go!
Optionally you can get your an API key [here], but you can use one attached in the source code.

    1. Clone source code from github (or download zipped project). Import source code into your Eclipse workspace as an Android project. You can try also apk on your device to see how it works (uncompress before install).
    2. In my project I used flickr.photos.search and flickr.photos.getSizes methods from Flickr API. The implementation of these methods you can find in FlickrManager class.
    3. Downloaded thumbnails are displayed in Gallery widget and after tap on chosen item the larger image will appear in ImageView below the gallery.
    4. Use case: Enter tag and tap “Search” button and enjoy simple Flickr by-Tag Browser 🙂

flickr_api_android_tutorial

All code is available on my github profile or just download:

github_logo

6 thoughts on “Tutorial: Using Flickr API on Android. Accessing images by tag”

  1. Pingback: Integrated Flickr Api but unable to search images

  2. I have downloaded and used the same code.. On searching it doesn’t display any image.I created my own api key but still on searching it doesn’t display any image..I am unable to figure out where i have gone wrong using this project..Thanks

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top