The goal for this recipe will be to add a new contact inside the address book of the iPhone. We'll use a simple form with the basic data for a new contact: first name, last name, and phone number. The user can type this data inside the mentioned form. By clicking on a button the contact will be added. A simple alert box will notify this action to the user.
All code required for this recipe can be found at
code/ch08/newContact in the code bundle provided on the Packtpub site.
Make sure you've installed PhoneGap and UiUIKit on your Mac computer.
index.htmlfile stored in the
wwwfolder. Before ...