简体   繁体   中英

Best approach for Android 2d drawing apps

I have a question about making a drawing app for Android. What is the best approach? I would like to make an app that keeps all objects available for the user to work with.

Do I have to use opengl for that? I would like to use the canvas drawing approach since it is easier to use, but perhaps this is not possible for what I want.

And how do I keep all object available for the user? Do I need to use large arraylists?

Thanks in advise.

The Android developer guidelines are pretty clear. If you need to draw 3d and/or multiple frames per second, then OpenGL is probably best. For a "paint" style drawing app, Canvas ought to be fine.

you can use opengl for complex 3d painting , and the canvas for 2d painting .

you can also use third party libraries that are easier to use , such as libgdx and andengine .

another alternative is using renderscript .

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