signature panel

Hi all

I have a quick question I want to create a signature panel to capture signatures. drawing the signature on screen is no problem but I am not sure how to store the signature data. is there away to collect a display groups bitmap data or would it be better to collect the coordinates in an array.

any advice you can give me would be greatly appreciated

Thanks

Mac [import]uid: 12378 topic_id: 6662 reply_id: 306662[/import]

a few options:

  1. use display.save to save the image
    http://developer.anscamobile.com/reference/index/displaysave

you should be able to send this to a server if you can encode the image: eg http://developer.anscamobile.com/forum/2011/02/01/attach-photo-email

  1. store it on the phone: store the points from the touch move into an SQLite db. you could animate the drawing this way when showing it again if you wanted

  2. store externally: pass the saved array of points to eg a PHP file and use GD2 to render the image from the points.

[import]uid: 6645 topic_id: 6662 reply_id: 23217[/import]