Subscribe

Get our E-Mail Newsletter:

             

Lastest posts


Google Releases Sample Application: Photostream

Sponsored link
Google has just announced a new open source sample application, called Photostream. The photo application has been added to the Apps-For-Android project, and is available for you to test drive. Photostream is a simple photos browser and viewer for Flickr. All you need is a Flickr screen name or user name, although the application also offers a default user name if you just want to try it. The application serves as an illustrative example of several Android features and APIs.Photostream
Photostream uses the following 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-tag
  • 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

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.

Photostream is part of the Apps-for-Android project. This is a collection of open source sample applications that demonstrate features of the Android platform. The first sample application was WikiNotes for Android, a wiki note pad.




Labels:




Translate to:

0 Comments:

Post a Comment

<< Home

Previous Posts

Visitor