This tutorial will guide you through a simple example of how to use this API.
AddressBook has three methods that may be invoked from a SD.
In this article you will see how the AddContact method works.
For the time being, the methods ViewContact and RemoveContact are not supported in Android.
This method expects the following parameters (see the Note below):
Create the following Transactions for our example:
Apply the WWSD pattern to your Transactions (see Applying Work With for Smart Devices Pattern).
In the pattern screen select the Section node.
Take a look at the screen on your right, which has some default actions. To add a new Action press the Add button.
After the Action has been created, add the code for the associated event.
Note: The First Name and Last Name parameters are mandatory. Email, Phone, Company Name, Photo and Message are optional. Even when some parameters are not included, they should be part of the call code. Also, because parameters are sent by position, when you want to skip one parameter you will have to add it with an empty string value.
Drag the new Action to the Action Bar.
Events in Mobile Applications