In this recipe, you'll learn how to call a number when a user clicks on a button in the user interface. Specifically, we're going to build a simple list containing our contacts where each represents a person and their phone number. After clicking on one of these elements the dial screen will be opened and the user will only need to click on the green button for calling the specified number.
We only need to build a simple XHTML file for this recipe. It can be found at
code/ch08/call.html in the code bundle provided on the Packtpub site.
Code files can be downloaded at the Packt website.
This recipe requires the use of the iWebKit framework.
Open your favorite text editor or IDE and create a new file ...