Pages

Ads 468x60px

Thursday, September 4, 2008

Android Photostream

I'm pleased to announce that 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.

Wednesday, September 3, 2008

Fring-mVOIP startup works up an edge


Fring, the Israeli company with $10m funding (from Pitango Venture Capital and Veritas Venture Capital) launched its first Mobile VOIP (mVOIP) service back in January 2007, and since April this year has made its application available on the iPhone.

Fring works well with flat rate data tariffs as well as Wi-Fi. The nice aspects of the application are that you are able to see who is online before you call and to do so, you simply click on Fring’s green button icon.

Some debate exists as to which company is likely to make it in the mVOIP sector, where notable players include jajah and truphone (see my earlier post in January). Fring may have the edge, given that it is truly free (it works completely off the operator data plan with no extra charges) and also seems to have a clearer and more aggressive strategy than the others.

Truphone, though initially much hyped, initially set out to deliver mVOIP exclusively over Wi-Fi, a bold move but ultimately the wrong one, as it was later forced to additionally offer its service through the 3G network. It was also behind fring in offering its service on the iPhone, only releasing the app in July this year.

Fring has now also opened up its API to third parties, allowing it to build up something of a community in the future. It now features a Facebook add-on and encouraged microblogging through its FringOlympics promotion in the summer. The Fring-me widget is one the later additions to the stable of add-ons, allowing those connected to the web to see when a Fring user is online .

Monday, September 1, 2008

CERN Time Machine to start ticking on Sept 10th


GENEVA -I rarely stray from the main subject matter of my blog, but unless you've had your head buried in the sand during the summer vacations, you will realise that in just 9 days, the biggest scientific experiment ever planned will take place near the tranquil waters of Lake Leman in Geneva.


The Large Hadron Collider, a 17-mile long particle accelerator at the CERN facilities (home of the inventor of the www), will accelerate matter to 0.01% of the speed of light and will be switched on for around 10 hours. During this time, its beam will travel roughly twice the distance between Neptune and the Earth.

All of this is vaguely reminiscent of Star Wars, and the photo (credit:Maximilien Brice, © CERN) reinforces this impression.

Exactly what will happen when the enormous amount of energy required to fire the beam is unleashed is anyone's guess but, if I were you, I'd plan a full backup of your computer files for September 9th...

A webcast is available at CERN, which you can reach by clicking on the title of this post.

Related Posts Plugin for WordPress, Blogger...