How can I ftp a signature capture?

// Expert user has replied.
C Chris Brown 2 years 11 months ago
6 4 0

I'm using eb.signature, but can't seem to store the signature as an image.

Currently, I'm having to run a very crude script to save the data as a text file

1. stringify the capture as json
2. split the huge string into 10 hidden text form fields and pass to next page (otherwise too big to pass)
3. concatenate the string back together and save as a text file

It'd be much simpler to successfully FTP a png image to the server, but can't find much documentation on how this is done. The small amount of explanations I've found are very vague

Any help, or sample scripts would be great, thanks

Please register or login to post a reply

4 Replies

J Joydeep Chakraborty

Do you still need help?

Regards
Joydeep

V Vedsatx Saddvv

Chris,

This seems to work using the original Pocket Browser SignatureCapture API - the attached test page will capture a signature and FTP it to an internet server as a BMP file .

C Chris Brown

Hi Ian
Thanks for replying. I don't see an attached test page ?

V Vedsatx Saddvv

Please take a look at this sample: http://techdocs.zebra.com/enterprise-browser/samples/signature/Signatur… .  It looks like that sample will capture the sample as an image on the device and display the URI of that captured image on the application UI.  You should then be able to use the fileTransfer API to FTP the image to a remote location.

CONTACT
Can’t find what you’re looking for?