S Subatanx86 Member Licensed User Sep 24, 2019 #1 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.
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 Sep 25, 2019 #2 Subatanx86 said: Is there a way to use a variable as the file name for a signature image? Click to expand... Code: 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
Subatanx86 said: Is there a way to use a variable as the file name for a signature image? Click to expand... Code: 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
S Subatanx86 Member Licensed User Sep 25, 2019 #3 Thanks DonManfred for the confirmation. I was able to figure it out after I stopped making dumb mistakes. Upvote 0
Thanks DonManfred for the confirmation. I was able to figure it out after I stopped making dumb mistakes.