How to capture human signature

ragu picture ragu · Jul 26, 2011 · Viewed 31k times · Source

I am new to Android. I am developing an application that requires a user signature. How can I capture a signature in Android?

Answer

citizen conn picture citizen conn · Jul 26, 2011

Your question is a little too broad. Try asking a question about a specific problem, not "how do I do something general". See the FAQ for more information about how to ask a question.

Here is a vague idea though:

  1. You'll want to have a canvas object that can allow the user to draw to the screen. Here is a link on SO about it. Android drawing a line to follow your finger

  2. Then you'll want to output that bitmap as a file: Save bitmap to location