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..
I want to draw circle ,rectangle etc in my application. can any one suggest
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You must create a custom
Viewsubclass, override its draw method and use anOpenGLContextto 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
Drawableobjects inandroid.graphicsinstead.