Allows the device to take a signature and save it as an image with the method take_signature. See the controller and view in the /app/SignatureUtil folder of the System API Samples application for an example.
As of Rhodes version 3.3.3, the Barcode, NFC, and Signature Capture APIs, as well as Rhom data encryption are removed from Rhodes. These features are only supported in Motorola RhoMobile Suite. If you wish to use these features, you will need to upgrade to RhoMobile Suite. Your application’s build.yml will also need to be modified to indicate the application type is ‘Rhoelements’. Additionally, a RhoElements license is required.
Opens a window on the device where user draws his signature. Saves the signature as an image.
SignatureTool::take_signature(callback_url, image_format)
callback_url |
url to callback method called after the user enters a signature. |
image_format |
The image format: "jpg" or "png". |
Callback method parameters:
status |
OK or CANCEL. |
signature_uri |
path to the signature image. |