Subject: | Re: Signature capture via Android and CWS OCX
| Date: | Tue, 15 Nov 2016 19:05:44 -0700
| From: | Liz McGuire <liz@paradoxcommunity.com>
| Newsgroups: | pnews.paradox-web
|
I have never done anything like this. If you are able to receive the
file, I would save it to the OS in a file structure outside the web
root, in a sub-directory linked to the account, and with a file name
that is saved with the related transaction (e.g. the transaction Id
could be the file name).
For the rest, I have no idea whether you could do that (not even certain
I comprehend it.
Liz
On 15 Nov 2016 08:05, Jim Moseley wrote:
> Greetings, all.
>
> Has anyone used the Corel Web Server to handle signature-captured BMP or
> SVG files?
>
> I currently have an Android app that ties into the CWS OCX to update my
> Paradox data directly. But, I don't know what to do with the BMP/SVG
> files. I don't think I want to save them as Memo/BLOB fields in
> Paradox, after seeing how easily that can get corrupted. But, if I save
> them as individual files on the drive, this seems like it would quickly
> become unmanageable.
>
> Any thoughts?
>
> Also, how should I setup the CWS OCX to even process these files? This
> is a sample of my current transaction upload via a POST:
>
> ------
> func=TripUpdate&usr=STEVE&tripid=73551&stat=At%20Pickup&phoneNo=8885551212&imei=5fd23454a2bf1254&platform=android
>
> ------
>
> Would I just add a new field containing the encoded BMP/SVG contents,
> and then split that off and 'save' it somehow?
>
> TIA,
> Jim Moseley
|