On Tue, Apr 7, 2009 at 10:04 AM, Omer Saatcioglu <[email protected]> wrote:
>
> Hello all,
>
> I have two activities running: MainActivity and ChildActivity.
> Whenever the user clicks in the button in MainActivity, the
> ChildActivity is launched. What I want to do is this:
>
> When the active activity is the ChildActivity and the user clicks the
> home button then relaunch the application (like opening from the
> beginning), I want to see the ChildActivity instead of MainActivity
> that is launched. However; This is happening only when the user clicks
> from recent activities window. (the window opened when you long press
> the home button)

It should already be doing what you want it to do, unless you have
something in your manifest that specifically makes it not do this.
What does your AndroidManifest.xml look like?

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