How to plotting dots according to XY coordinates in android ? -
i'm new android , want represent dots on 2d map (not google maps) according xy coordinates in database. when click particular dot need display text on it.
use: canvas.drawpoint(float x, float y, paint paint) method. initialize new paint object, , set color , size, etc.
if want add text, use drawpostext (char[] text, int index, int count, float[] pos, paint paint) method.
see article info on how use canvas: http://developer.android.com/guide/topics/graphics/2d-graphics.html
Comments
Post a Comment