Click here to Skip to main content
15,069,838 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to draw a line on given two points which is specified through OnTouch() event
in andriod.But how to draw a line(also anything to draw newly) inside OnTouch(...) event.

What I have tried:

I tried this app for Windows 7 through Visual c++.
Posted
Comments
Richard MacCutchan 30-May-16 16:20pm
   
So what is it Windows or Android? In either case, drawing lines is a fairly straightforward part of the API. For Windows see http://msdn.microsoft.com/en-us/library/ms533798(VS.85).aspx. For Android see https://developer.android.com/guide/topics/graphics/opengl.html.
AK96 30-May-16 23:39pm
   
I didn't understand from this site.that's why i asked the question.
Richard MacCutchan 31-May-16 2:52am
   
What do you not understand? If you want a tutorial on OpenGL, then you need to use Google to find one. If you want a tutorial on Android then take a look at http://www.codeproject.com/KB/android/#Android+Tutorial+Contest.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900