On Fri, Nov 12, 2010 at 6:43 PM, arbitrary-software < [email protected]> wrote:
> I'm struggling with my app that launches multiple instances of the > same Activity using the same intent. My main activity is of class type > A and it does a startActivity() of two children that are of the same > class type B. So we have B1 and B2 launched. If B1 and B2 are both > paused (by pushing back button and making sure finish() is not invoked > on them so they are truly paused), how can A uniquely bring either B1 > or B2 to the foreground again? I do want to launch a new B activity. I > want to uniquely bring B1 or B2 to the foreground. > This sounds like a very strange use case. Can you elaborate on why you need to do this? There might be a better way to go about this. Regardless, you can try to make the intents unique by setting the Action or Data on them to be something different. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

