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.
- 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).
- 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.
- Downloaded thumbnails are displayed in Gallery widget and after tap on chosen item the larger image will appear in ImageView below the gallery.
- Use case: Enter tag and tap „Search” button and enjoy simple Flickr by-Tag Browser 🙂
All code is available on my github profile or just download: