How can I ftp a signature capture?

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

Anonymous (not verified)
Please take a look at this

Please take a look at this sample: http://techdocs.zebra.com/enterprise-browser/samples/signature/SignatureCommAPI.html .  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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Chris Brown
Thanks. Yes, I've been

Thanks. Yes, I've been through that many times, (lost several days work in fact!) but cannot seem to get it working. My FTP works fine, but can't seem to get the actual image there. I was wondering if anyone had actually got this working and if they had a sample script for me to look at at the documentation seems very vague.

There's a nice sample script to get the signature panel working, and stringify the capture to JSON, but no samples to give you guidelines as to what to do with it thereafter

Thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
I do not have any sample

I do not have any sample scripts I'm afraid, perhaps ​ can help with this.

Assuming you have the signature stored as a file on the device, after capture, I would recommend using the FileTransfer module to transfer this file to an FTP server: FileTransfer Module - Zebra Technologies TechDocs .  The default File API available in EB (RhoFile - Zebra Technologies TechDocs ) does not have this capability.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Chris,This seems to work

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 .

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Chris Brown
Hi IanThanks for replying. I

Hi Ian

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Should be a link visible

Should be a link visible underneath the text of my reply - are you using Chrome to access this website ?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Chris Brown
Nothing there. I'm using

Nothing there. I'm using Firefox

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Chris Brown
Tried Chrome just now.

Tried Chrome just now. Nothing there either?!?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Strange - anyway I have

Strange - anyway I have posted the file at the link below for direct access :

http://moto.airsetup.com/2018/eb/SignaturePB.html

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Joydeep Chakraborty
Do you still need help

Do you still need help?

Regards

Joydeep

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments