Click here to Skip to main content
15,791,546 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++.
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 For Android see
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

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