A nice tutorial for phonegap apps