For the people who are new into phonegap please go through this.