I want to make a small app. You will touch the screen and draw something and it will list points you pass and draw small green 3×3 rectangles for each fifth point. I use onTouchEvent for listing points using TextView and send it to setContentView. However, I have problem in drawing. I checked examples for drawing (onDraw) but I am not able to get it working for both printing point plus drawing green dots. Any help would be great, thanks.
Share
Here you are, a quick sample of drawing on
SurfaceView.