Hi list!

I'm writing an App to help in the VFR-Navigation.
The App works and help me flying, but sometimes it freezes...

Using the log files, I can see, the App still continue working and sent
display updates command, but the display is freezed. No new data are
displayed and no reaction from user input are received...
I cannot see any exception in my App.

Curiously I cannot reproduce the problem using the emulator, but just
with physical devices and, of course, the problem happens always by
flying, when I don't have any laptop attached to the device and cannot
do any debugging (otherwise I'll crash...).

Not understanding why, but my Tablets "hangs" now at home, too, so I can
start the App from my home and reproduce the problem. The App freezes
and no other actions can be processed...

I connected the Tablet with my PC and started adb logcat.
As I said, no Exception in the App, but I can see some other messages,
that maybe can be related to the problem, such:

V/WindowState(  687): Window Window{1e00b531 u0
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}
client=android.os.BinderProxy@377c1dd8 token=AppWindowToken{7769a35 token=
Token{41e246c ActivityRecord{1d7291f u0
de.lucabert.simplevfr/.MainActivity t307}}} (Token{41e246c
ActivityRecord{1d7291f u0 de.lucabert.simplevfr/.MainActivity t307}})
params=WM.L
ayoutParams{(0,0)(fillxfill) sim=#100 ty=1 fl=#80810180 pfl=0x8
wanim=0x1030461 surfaceInsets=Rect(0, 0 - 0, 0)}
V/WindowState(  687): Attaching Window{1e00b531 u0
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}
token=AppWindowToken{7769a35 token=Token{41e246c ActivityRecord{1d7291f
 u0 de.lucabert.simplevfr/.MainActivity t307}}}, list=[Window{2fe609fd
u0 de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}]
V/WindowManager(  687): New client android.os.BinderProxy@377c1dd8:
window=Window{1e00b531 u0
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}
V/WindowManager(  687): Looking up client
android.os.BinderProxy@3b39d654: Window{2fe609fd u0
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}
I/WindowStateAnimator(  687): createSurface WindowStateAnimator{3b7a736d
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}:
mDrawState=DRAW_PENDING
V/SurfaceTrace(  687): ctor: Surface 159c8ba2
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity (0):
shown=false layer=0 alpha=0.0 0.0,0.0 129x129 crop=[0,0][0,0]
opaque=false (0.0,0.0,0.0,0.0). Called by
com.android.server.wm.WindowStateAnimator.createSurfaceLocked:830
com.android.server.wm.WindowManagerService.relayoutWindow:3213
com.android.server.wm.Session.relayout:196
V/WindowStateAnimator(  687): Got surface: Surface 159c8ba2
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity (0):
shown=false layer=0 alpha=0.0 0.0,0.0 129x129 crop=[0,0][0,0]
opaque=false (0.0,0.0,0.0,0.0), set left=600 top=937, animLayer=21025
V/SurfaceTrace(  687): setPosition(536.0,873.0): OLD:Surface 159c8ba2
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity (0):
shown=false layer=0 alpha=0.0 0.0,0.0 129x129 crop=[0,0][0,0]
opaque=false (0.0,0.0,0.0,0.0). Called by
com.android.server.wm.WindowStateAnimator.createSurfaceLocked:886
com.android.server.wm.WindowManagerService.relayoutWindow:3213
com.android.server.wm.Session.relayout:196
V/SurfaceTrace(  687): setLayer(21025): OLD:Surface 159c8ba2
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity (0):
shown=false layer=0 alpha=0.0 536.0,873.0 129x129 crop=[0,0][0,0]
opaque=false (0.0,0.0,0.0,0.0). Called by
com.android.server.wm.WindowStateAnimator.createSurfaceLocked:892
com.android.server.wm.WindowManagerService.relayoutWindow:3213
com.android.server.wm.Session.relayout:196
V/WindowStateAnimator(  687): Created surface
WindowStateAnimator{3b7a736d
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity}
V/WindowManager(  687): Looking for focus: 5 = Window{2fe609fd u0
de.lucabert.simplevfr/de.lucabert.simplevfr.MainActivity},
flags=8519682, canReceive=true

and so on... I can send the whole logcat, if needed.
Unfortunately, I didn't found anything useful searching for these
messages. Maybe I'm just dumb...

Can someone help me understanding where is the problem and maybe to
solve it?

As I said, the problem can be reproduced with physical devices (tried
two Tablets and one SmartPhone), but not with the emulator...

Thanks a lot for your help!
Luca Bertoncello

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/067fb0b6-e699-c682-a023-740d7f879d5a%40lucabert.de.

Reply via email to