A generic weather app to learn phonegap