Hello,

I'm in the process of making a coloring book application that is
basically a drawing application. I have been trying to make this
application using SurfaceView and the canvas. My first attempt using
Path and Paint has been successful and looks fine, but I would like to
make the paths that I draw with my finger look more like I was drawing
with a crayon.

The first thing I have done is to record my movemnts accross the
canvas and save those to an ArrayList. When View's onDraw function is
called the function reads the points and draws a bitmap to each point.
This method get problematic when the number of points grows larger.
The onDraw function slows down, and the application throws a force
error when the ArrayList gets to big.

I really feel that there are better methods to making a drawing
application with a textured brush that I have been unable to find. I'm
starting to also wonder if using OpenGL would be better.

I'm new to developing for Android and would love any advice anyone can
share with me about best practices for making a drawing application
with different brush styles.

Thanks so much for any help you can give,

Derek

-- 
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