In Android, if you are in a situation in which you are drawing lots of connected lines (like routes on MapView) try to use "canvas.drawPath". In one of my applications I am drawing nearly 500 routes containing 10.000 points and using "canvas.drawPath" instead of "canvas.drawLine" decreases the drawing time as up to %30.
hi,
ReplyDeleteplease sent the complete source code or sample project to me.
hlaingwintunn@gmail.com
Hi Serkan Dogantekin , Can you please suggest me that how can we drawn lines in different patterns? For example please read my question on stackoverflow:- http://stackoverflow.com/questions/14209819/how-to-draw-line-in-different-patterns-using-canvas#comment19706618_14209819. I am waiting for your positive replay! You can contact me on id:- mansivora01@gmail.com Thanks in advance! :)
ReplyDelete