LandScape App. freezes during launching

by scheme » Thu, 03 Sep 2009 01:46:48 GMT

Sponsored Links
 I had written landscape app. which use surface view and camera.
It works fine mostly.

However, The weird thing is that the app sometimes (once a 5~6 times)
freezes when I started it.
The DDMS spits out following log.

09-02 10:58:29.191: WARN/WindowManager(1132): App freeze timeout
09-02 10:58:29.201: WARN/WindowManager(1132): Force clearing freeze:
AppWindowToken{43b4ea00 token=HistoryRecord{4386bcc0 {}}}
09-02 10:58:29.251: WARN/SurfaceFlinger(1132): timeout expired
mFreezeDisplay=1, mFreezeCount=0

The following lines are added in the manifest.xml


I have struggled but have no progress.

Any Ideas?
Thnks in advance.


LandScape App. freezes during launching

by Dianne Hackborn » Thu, 03 Sep 2009 01:57:27 GMT

 What is your app doing in the debugger?  That message is saying that the
window manager gave up waiting for the app to draw all of its windows before
unfreezing the screen in the new orientation, so for some reason you aren't
getting your windows/surfaces drawn.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


Sponsored Links

LandScape App. freezes during launching

by scheme » Thu, 03 Sep 2009 22:56:34 GMT

 I had checked my app. again and I found that the onCreate function
sometimes take more than 5 sec. to complete.
After modify the onCreate function, the problem is gone.



Other Threads

1. Submission evaluation

Is any body can tell , whether the evaluation has been started or not?
i know many of you have submmited application which will interect with
web and if tested then you will be able to understand that the testing
of the software is started , can any body provide information that
evaluation has started??

2. Android Email Team - Email Message Flags and Imap Idle

could these "Flags" be tags on the client side ?
do they need to be synced to the server? what is
their server-side data struct ? categories in exchange ?
maybe openintents can handle some of this.
email stack is still on my do list


3. Hardware considerations for application with media

4. get key pressed actively

5. About error:Argument must not be null

6. About camera in android

7. question about adding external source folders to your project