This is an old revision of the document!
Take the code of the following app's and run them under eclipse.