• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to draw

hollowback

Lurker
Nov 12, 2009
5
0
Hi, i need to create app in which will user draw simple lines through onTouchEvent.
It had to be possible to save drawed image as bitmap.
At Graphics | Android Developers I read there are 2 ways to do it. But as i wrote with SurfaceView it is impossible to save it as bitmap.
But I don't know how to do that with other View objects.
In my onTouchEvent I use Path object to store coordinates.

Please could you tell me how to do it?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones