http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html

On Jul 22, 11:45 am, Nikolay Elenkov <[email protected]>
wrote:
> On Fri, Jul 22, 2011 at 10:06 AM, Jeremy Dagorn <[email protected]> 
> wrote:
> > I just need to find something to integrate in my application allowing
> > the user to write not with the keyboard but with hand, and store the
> > thing he writes as a picture in a database. So, I need to have some
> > component to give this option, and some methods to get written things
> > to store them.
>
> If all you need is to save a picture of what they draw, that's fairly easy.
> You just need to capture  the coordinates of MotionEvent.ACTION_DOWN/UP/MOVE
> events and draw lines/curves on screen. Then capture the view as a
> Bitmap and save to DB. There is a sample of the drawing part in
> ApiDemos.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to