简体   繁体   中英

android how to draw on a canvas through touch events

I want to make android-screen as white-board so that by touch on screen I able to draw something on screen. I know I have to use canvas, Path all these things. But how I can make that screen so that i able to draw a dot there? For that what should i do with my activity? How can I do that plz give me some sample code.

Thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM