Photostream: Flickr on Android

September 5th, 2008 by Alex Moros

Photostream is a new open source sample application for Android. This application is a browser and viewer of pictures for Flickr. To use it from your phone, you need a user name from Flickr, but the application offers a default user name if you just want to try it.

As it is an open source application you can browse the SVN repository, that has been included in the apps-for-android project. If you check the code you will be able to see some examples of developing different features like:

  • Activity aliases
  • Adding custom shortcuts to Home
  • Adding a new wallpaper chooser to the system
  • Custom layouts
  • Custom XML attributes
  • Use of themes
  • Use of styles
  • Use of text colors
  • Use of <include>
  • Use of bitmap and layer drawables from XML
  • Use of HttpClient
  • Proper interaction between background threads and the UI thread
  • Efficient display rotation (using the new onRetainNonConfigurationInstance() API)
  • Animations and layout animations
  • Cropping an image
  • Image manipulation

For instance, you can learn how Photostream can add a new shortcut type in Home, to create a shortcut to any Flickr account. The shortcut shows a custom icon, downloaded from the Flickr user profile.

So these are great news if you are a Flickr/Android lover cause you will be able to access Flickr from your Android phone or learn about its development.

Via Android Developers Blog


Posted in Software, Uncategorized, android  | 
URL Trackback

Responses (2)


  1. Bradzo3000 Says:

    Cool! Any idea of when android is coming to spain?

  2. Alex Moros Says:

    Hi Bradzo.

    We still don’t know when Android will come to Spain, so that the project is still in development state. We hope it’s launched soon to be able to test it. And if you want to know when it comes to Spain, just keep in contact with us. :)

Leave a Reply