App Framework for PhoneGap