Narendrabrsoft / cocos2d-android-1

Automatically exported from code.google.com/p/cocos2d-android-1
0 stars 0 forks source link

Touch events are hanging #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have my touch events hanging almost everywhere, when testing in emulator and 
on Nexus One device.

Sometimes it hangs when I touch the screen, other times it responds as fast as 
expected.

It happens both when I have a screenTouched event, and also sometimes in the 
builtin menus.

When the touch is hanging, I get this output in the Logcat :

10-08 11:26:09.143: WARN/WindowManager(115): Key dispatching timed out sending 
to dk.netcoders.android/dk.netcoders.android.twinFruits

10-08 11:26:09.143: WARN/WindowManager(115): Previous dispatch state: 
{{KeyEvent{action=1 code=26 repeat=0 meta=0 scancode=116 mFlags=8} to 
Window{44180ce0 Keyguard paused=false} @ 1286529262124 lw=Window{44180ce0 
Keyguard paused=false} lb=android.view.ViewRoot$W@441808a8 fin=false gfw=true 
ed=true tts=0 wf=false fp=false mcf=Window{44180ce0 Keyguard paused=false}}}

10-08 11:26:09.143: WARN/WindowManager(115): Current dispatch state: {{null to 
Window{442d4870 dk.netcoders.android/dk.netcoders.android.twinFruits 
paused=false} @ 1286529969146 lw=Window{442d4870 
dk.netcoders.android/dk.netcoders.android.twinFruits paused=false} 
lb=android.os.BinderProxy@441038e0 fin=false gfw=true ed=true tts=0 wf=false 
fp=false mcf=Window{442d4870 
dk.netcoders.android/dk.netcoders.android.twinFruits paused=false}}}

10-08 11:26:09.143: WARN/WindowManager(115): Continuing to wait for key to be 
dispatched

Original issue reported on code.google.com by fona...@gmail.com on 8 Oct 2010 at 9:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
MenuItem will not response to the touch event after a while,
But I didn't get any wrong info from logcat,
is this releated with the touch hanging problem disscussed above?

Original comment by NGl...@gmail.com on 15 Oct 2010 at 5:25