For this document the following Transaction object will be used as an example:
Apply the Work With for Smart Devices object to it (see Applying Work With for Smart Devices Pattern):
The RemoveContact method accepts the following parameters. (FirstName and LastName are mandatory, the rest are optional parameters to narrow the possibilities of the contact to delete).
In the Section General node configure the action. Add an action:
Add the behaviour to the event trigered by the action.
Note: Even though some parameters are not used the parameters have to be included. That´s why some parameters are ' ' (empty values).
Add a contact to your device`s address book.
If you want to delete a contact that doesn`t exist in your device`s address book the following message will be shown.
Events in Mobile Applications