Android Question Signature capture variable save names

Subatanx86

Member
Licensed User
I'm using the signature capture example https://www.b4x.com/android/forum/threads/signature-capture-tutorial.9096/#content

Is there a way to use a variable as the file name for a signature image?

I'm collecting other data that is being stored in a SQL DB. The signature file may need to be pulled up in the future for proof of receipt. The app populates an ID number. If I can use the ID number for a particular record as the signature image file name that would be helpful. I would then quickly be able to match a record to the signature for that record once they are transferred off the device.
 

DonManfred

Expert
Licensed User
Longtime User
Is there a way to use a variable as the file name for a signature image?
B4X:
Sub btnSave_Click
    SignatureCapture.Save(SD, File.DirRootExternal, "sign.png")
    ToastMessageShow("Signature saved to: " & File.Combine(File.DirRootExternal, "sign.png"), True)
End Sub

YES, sure. Just use a variable in this sub. Or two, one for the path one for filename
 
Upvote 0
Top