Hi,

Thanks for ur reply..

Is there any way to call tonDraw() frequencly...
And also i need to use timer...

On Dec 3, 10:00 pm, "Mark Murphy" <[email protected]> wrote:
> >I'musingaclassextendswithview.
> >I'musingtimerin thatclass.
> >I'musingonTouchEvent()also.
> > IonTouchEvent()i'musinginvalidate().
> >Soit iscallingonDraw().
>
> > When i useinvalidate() inTimer.
> > It is notcallingonDraw(). Why?....
>
> Timeruses a background thread. You cannot modify the UI from a background
> thread.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to