# Android air: Delayed input while cpu busy

**URL:** <https://forum.kirupa.com/t/android-air-delayed-input-while-cpu-busy/329183>\
**Category:** flash\
**Created:** [July 29, 2012, 11:03am UTC](https://forum.kirupa.com/t/android-air-delayed-input-while-cpu-busy/329183 "2012-07-29T11:03:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fossor](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Fossor](https://forum.kirupa.com/u/Fossor)\
**Post date:** [July 29, 2012, 11:03am UTC](https://forum.kirupa.com/t/android-air-delayed-input-while-cpu-busy/329183/1 "2012-07-29T11:03:30Z")

</div>

Hi there!  
I am making some android mobile app that is processing images. So, there is some point, where i want to disable user input(touch/click). All this happening while application performs some CPU heavy things (duplicating bitmaps for about 2 seconds).  
So the problem is - no matter what i do: Putting transparent Sprite on top of everything/disabling all mouse events/ even hiding sprite with buttons - nothing prevents clicking.  
I.e I click on the button (or even hidden button with disabled mouse events) while all these CPU heavy procedures work in background, then after procedures done, i am enabling input. And that is when i receive that delayed and totally disabled input.  
I tried to remove these procedures and mimic them 2 second timer and everything works perfectly - input is disabled.  
All this happening on ice cream galaxy s2.  
Thanks.
