It's also worth pointing out that two calls two onCreate don't necessarily
mean two activity instances, if there is also a call to onDestroy for one
of them.

( and this is ignoring things specific to Android completely - just a very
basic observation that one can't make conclusions based on observing only
one of two events that balance each other out )

-- K

2012/7/18 Mark Murphy <[email protected]>

> On Wed, Jul 18, 2012 at 11:12 AM, Mind <[email protected]> wrote:
> > It seems there are two complete copies of my
> > Activity running.  Each one gets all the touch events etc.  Each game
> board
> > gets the same score... and each posts to an online leaderboard ... where
> > they then show up as duplicate game scores.
>
> That shouldn't be possible, particularly the "each one get all the
> touch events" part. Only one activity can be in the foreground. If you
> can somehow cook up a sample app that reproduces this behavior, post
> the source code somewhere, and I can take a look at it.
>
> > @Mark:  I will implement your suggestions when I get home and reply asap.
>
> I doubt any will impact this behavior, though they are still
> reasonable things to do.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.8 Available!
>
> --
> 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
>

-- 
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