Sample to play with phonegapp