It sounds like you are blocking the UI thread by performing an expensive operation in the button's click handler.
On Wed, Dec 24, 2008 at 4:43 PM, Sundog <michael_...@tmail.com> wrote: > > I can only provide a little input, that I have not found this to be > the case. My game uses ImageButtons - MANY of them on the screen at > once, over a hundred - and the reaction in the onClickListener is > nearly instantaneous. > > I can make it even faster by responding to the down-clicck instead of > the up-click, by interpreting the Touch event instead, but then you > have to do your own debouncing. > > On Dec 23, 11:27 pm, cindy <ypu01...@yahoo.com> wrote: >> I have an application using ImageButton. When I touch it, sometimes >> it doesn't response. Sometimes it response. The response time is slow. >> >> But using the G1 phone's dial function, when I touch the number, the >> response time is very fast. >> >> Does anyone know why? >> >> Thanks! >> >> Cindy > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---