signature for form
I am stuck.. Trying to find away to scribble, draw… however you would call it, into a textbox. For example, I have a form and at the bottom I want the user to agree and have him sign the app with his finger, like a signature. Maybe save it as a picture or something, Is this possible?
targeted to android
2 Answers
-
Webview+canvas and then
canvas.toDataURL("image/png");
and some Titanium events to use this data ?
-
Take a look here
http://mobilegeo.wordpress.com/2009/11/04/html5-canvas-for-mobile-apps/
http://mab.edina.ac.uk/testimg/canvasopera.html
You could try to integrate this as a local html file. Then you can use events to communicate with Titanium , like here
http://developer.appcelerator.com/question/10671/webview-dom