how to pass game center data between activities?
<p>Well, I'm implementing the new game center in android and there is a concept that i don't understand.</p>

<p>I have a class which extends BaseGameActivity (<a href="https://developers.google.com/games/services/android/init" rel="nofollow">https://developers.google.com/games/services/android/init</a>), so it's the one who manages achievements, leaderboards, Google + sign in, etc.
I need another class to be able to access game center data from that activity (unlock achievements, leaderboards, etc), but this class is not called from the extending BaseGameActivity class.</p>

<p>How can they communicate?</p>

<p>The structure is like this (meaning "->" that it starts other activity)</p>

<p>A (extends BaseGameActivity) -> B -> C (needs game center communication with A)</p>

<p>I have read the google's example (TypeANumber) but it uses a Listener to communicate, that's easy when the class you need to communicate with is the one which you are starting, but it's not as easy with my structure.</p>

<p>Any ideas?</p>

<p>Thanks</p>
