[android-developers] launching new instance --- Urgent help needed

2010-09-07 Thread Revathi K J Ramanan
Hi, I have two activities.A and B. A starts B.Both are running in the screen and both are visible. Say now B is visible. On a special key press, I want to bring the A to the front and make it active. The problem I am facing is when the special key is pressed, another instance of A is launched

Re: [android-developers] launching new instance --- Urgent help needed

2010-09-07 Thread Dhrumil Shah
Have you tried to develop this? If yes, paste ur code ~Dhrumil On Tue, Sep 7, 2010 at 4:15 PM, Revathi K J Ramanan revathiramana...@gmail.com wrote: Hi, I have two activities.A and B. A starts B.Both are running in the screen and both are visible. Say now B is visible. On a special key

Re: [android-developers] launching new instance --- Urgent help needed

2010-09-07 Thread Kostya Vasilyev
See this: http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT -- Kostya 07.09.2010 14:45, Revathi K J Ramanan пишет: Hi, I have two activities.A and B. A starts B.Both are running in the screen and both are visible. Say now B is visible. On a

Re: [android-developers] launching new instance --- Urgent help needed

2010-09-07 Thread YuviDroid
Or you can simply call finish() in your activity B. This will close activity B and will bring back the old activity A. On Tue, Sep 7, 2010 at 12:45 PM, Revathi K J Ramanan revathiramana...@gmail.com wrote: Hi, I have two activities.A and B. A starts B.Both are running in the screen and both

Re: [android-developers] launching new instance --- Urgent help needed

2010-09-07 Thread TreKing
On Tue, Sep 7, 2010 at 5:45 AM, Revathi K J Ramanan revathiramana...@gmail.com wrote: But I want the original A to come to the front. I want to make this change in the framework layer rather than application specific by using the singleInstance theme in the launchMode in AndroidManifest file.