The log line you posted just means that for some reason your UI thread has
been busy so missed frames.

If the code you printed is executing that log line more than once, then you
either have a race condition (because this is being executed from multiple
threads), or something is clearing that flag.  Either way, at this point it
looks like an issue in the app.

On Tue, Jul 17, 2012 at 9:08 PM, Mind <[email protected]> wrote:

> 1st:  This does NOT occur on ICS.
>
> I have two Activities that I cycle between.  Game screen and Results
> screen (don't complain about not using Activity Fragments).
>
> I end one with finish() and then call the next.  If I exit out using the
> back button, some time later one of the Activies pops up.  Presumably
> because the timed game round ends and the next activity is auto-started or
> something.
>
> Additionally, I have a timer loop using Runnable.  Inside the loop I do
> things like this:
>
> if (game_time > 0 && game_time < 5 && flag)
> {
>   flag = false;    /// class variable
>   Log.i("WTF", "Why do I see this message more than once?");
> ... }
>
> Well, this code gets run MULTIPLE times.... I can see the log messages.
>
> If I upload the EXACT same APK to an ICS device, these behaviors do not
> happen.
>
> I also see this message in the log:
> 07-18 00:05:51.187: I/Choreographer(20425): Skipped 42 frames!  The
> application may be doing too much work on its main thread.
>
> Is anyone seeing anything similar or can explain this ?
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to