I want to draw 开发者_运维百科circle ,rectangle etc in my application. can any one suggest me how to use opengl in android? and if any tutorial could u please share..
You must create a custom View subclass, override its draw method and use an OpenGLContext to draw. See the OpenGL topic in the Android documentation.
If you only need to draw some geometric primitives and performance is not a major concern (that is - you are making almost anything that is not a game), you will probably want to use the Drawable objects in android.graphics instead.
加载中,请稍侯......
精彩评论