This is the tutorial I am following for PhoneGap