T-Mobile G1 Applications

  • Home
  • .
  • How To Install Apps
  • G1 Wallpapers
  • Contact
  • Privacy Policy

.

.

Android Photostream

Posted by g1apps
October 19, 2008

Android Photostream a new open source sample application—called Photostream—has been added to the apps-for-android project. Photostream is a simple photos browser and viewer for Flickr. All you need to use it is a Flickr screen name or user name (the application offers a default user name if you just want to try it.)

This application serves as an illustrative example of several Android features and APIs:

  • 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

My favorite feature is the ability to 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:

If you plan on reusing the source code to access Flickr in your own application, you should modify the Flickr.java file to replace the existing API key with your own. The application source code also contains a very handy class called UserTask.java. This class is designed to help you easily write background operations that interact with the UI thread. 

Utilities

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)



Search

Archives

  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008

Categories

  • Business
  • Coolest Apps
  • Development
  • Downloads
  • Education
  • Entertainment
  • Games
  • Giveaways
  • Healthcare & Fitness
  • How To
  • Information
  • Lifestyle
  • maps
  • Multimedia
  • music
  • News
  • Product Review
  • Productivity
  • Reference
  • shopping
  • Social Network
  • Sports
  • Uncategorized
  • Utilities
Android Apps on AppsVu
  • Recent Posts

    • Aloqa
    • Glympse
    • Spotify
    • Pandora for Android
    • Better Keyboard
  • Categories

    • Business
    • Coolest Apps
    • Development
    • Downloads
    • Education
    • Entertainment
    • Games
    • Giveaways
    • Healthcare & Fitness
    • How To
    • Information
    • Lifestyle
    • maps
    • Multimedia
    • music
    • News
    • Product Review
    • Productivity
    • Reference
    • shopping
    • Social Network
    • Sports
    • Uncategorized
    • Utilities
  • Archives

    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • Links

    • Android Apps - Android Apps
    • Droid Apps - Droid Apps
    • HTC Hero Apps - HTC Hero Apps
    • myTouch Apps - myTouch Apps
    • Palm Pre Apps - Palm Pre Apps

Powered by Wordpress | WP Premium theme by WP Remix
Copyright 2007. T-Mobile G1 Applications. All rights reserved

  • Home
  • .
  • How To Install Apps
  • G1 Wallpapers
  • Contact
  • Privacy Policy