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 <[email protected]> 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 <[email protected]> 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
[email protected]

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 [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