PDA

View Full Version : Sencha Touch Field Types



willmarsh
21 Sep 2011, 7:59 AM
As a complete newbie to Sencha Touch - is it possible to create a form field/item which allows the user to add a form signature by 'signing' the device touch screen, and is it possible to create a form field which allows the user to take a photograph using the device camera.

If it is possible, can anyone share code that would show me how to do this? Does this need something like PhoneGap to access the device functions?

Many thanks.

AndreaCammarata
21 Sep 2011, 11:05 AM
Hi willmarsh.
About the device camera, at the moment that's only possible using something like PhoneGap.
About the signature component, I suggest you to take a look at this good component created by SimonFlack.

http://www.sencha.com/forum/showthread.php?121136-simFla.ux.plugins.signaturePad

Hope this helps.

willmarsh
22 Sep 2011, 2:09 AM
Hi Andrea,

Many thanks for your prompt help and advice.
I will investigate the link you supplied.

Many thanks.

AndreaCammarata
22 Sep 2011, 2:12 AM
You are welcome ;)

mwrf
23 Sep 2011, 2:49 AM
An example of a Non-Plugin here:

http://j-query.blogspot.com/2011/02/sencha-touch-ipad-signature-javascript.html (http://j-query.blogspot.com/2011/02/sencha-touch-ipad-signature-javascript.html)

willmarsh
23 Sep 2011, 6:02 AM
That looks really interesting and I very grateful for you sharing your code and work.

Best regards.