[android-developers] Re: Annotation: keyDispatchingTimedOut
You got an ANR (application not responding) because the main thread
stuck and the key event couldn't be processed. You might be getting
the options Force close and Wait, right?
Try reviewing your code for any potential huge operations done when
drawing or handling events. A good way would be connecting the
debugger, start scrolling the list and pausing the ui thread and
checking if its stack trace points to the cause.
On Sep 23, 8:11 am, Rudi <rmonto...@gmail.com> wrote:
> HI I'm doing a application, I have a Layout that has a ListView. when
> I'm scrolling the list, the system hold and force me to close the app.
>
> I saw the logs and show me the next.
>
> 09-23 08:35:16.189: WARN/WindowManager(51): Key dispatching timed out
> sending to com.totalcontrol.multicam16/
> com.totalcontrol.multicam16.Multicam16
> 09-23 08:35:16.189: WARN/WindowManager(51): Dispatch state:
> {{KeyEvent{action=1 code=4 repeat=0 meta=0 scancode=158 mFlags=520} to
> Window{43d6a638 Sorry! paused=false} @ 1285251027492
> lw=Window{43d6a638 Sorry! paused=false} lb=android.view.ViewRoot
> $W@43d3acc8 fin=false gfw=true ed=true tts=0 wf=false fp=false
> mcf=Window{43e257d8 com.totalcontrol.multicam16/
> com.totalcontrol.multicam16.Multicam16 paused=false}}}
> 09-23 08:35:16.199: WARN/WindowManager(51): Current state: {{null to
> Window{43e257d8 com.totalcontrol.multicam16/
> com.totalcontrol.multicam16.Multicam16 paused=false} @ 1285252516198
> lw=Window{43e257d8 com.totalcontrol.multicam16/
> com.totalcontrol.multicam16.Multicam16 paused=false}
> lb=android.os.BinderProxy@43e255d8 fin=false gfw=true ed=true tts=0
> wf=false fp=false mcf=Window{43e257d8 com.totalcontrol.multicam16/
> com.totalcontrol.multicam16.Multicam16 paused=false}}}
> 09-23 08:35:16.228: INFO/ActivityManager(51): ANR in process:
> com.totalcontrol.multicam16 (last in com.totalcontrol.multicam16)
> 09-23 08:35:16.228: INFO/ActivityManager(51): Annotation:
> keyDispatchingTimedOut
> 09-23 08:35:16.228: INFO/ActivityManager(51): CPU usage:
> 09-23 08:35:16.228: INFO/ActivityManager(51): Load: 0.2 / 0.11 / 0.13
> 09-23 08:35:16.228: INFO/ActivityManager(51): CPU usage from 16226ms
> to 25ms ago:
> 09-23 08:35:16.228: INFO/ActivityManager(51): trol.multicam16: 24% =
> 18% user + 5% kernel / faults: 5426 minor
> 09-23 08:35:16.228: INFO/ActivityManager(51): system_server: 1% = 0%
> user + 0% kernel / faults: 1 minor
> 09-23 08:35:16.228: INFO/ActivityManager(51): m.android.phone: 0% =
> 0% user + 0% kernel
>
> I'm not understand whats mean it, If any one can help me, i'll thanks
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home