I would have guessed that your drawing needs to be done within the
draw (or onDraw()?) method, which you have to overide. I'm not sure if
drawing from another method has any effect, but even if it does it is
probably being 'overdrawn' when the real draw method is called.
Check out SDK samples for
http://developer.android.com/guide/topics/graphics/index.html#draw-with-canvas
I think you next need to display your canvas. It does not appear to
be attached to your view hierarchy, that I can see. You setContetView
main, but I don't see you attach to any views.
On Dec 3, 9:37 am, Neilz
2 matches
Mail list logo