Typically you would change some variable or model object in your program onLocationChanged, invalidate some view you are showing, that will cause the view's onDraw method to be called, then you would draw to the Canvas provided to you in that method of the view: http://developer.android.com/reference/android/view/View.html#onDraw%28android.graphics.Canvas%29
Just drawing to a bitmap backed Canvas instance that you create on your own won't do anything. That's just creating an internal buffer if you never draw the bitmap to anything later. On Jul 2, 1:42 pm, havanakoda <andreaviane...@gmail.com> wrote: > Hi, > I've a problem, I call a method that draw a circle over a canvas > inside onLocationChanged but it doesn't do anything. > Can anyone tell me why ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en