use

android:launchMode="singleTask"



On Apr 16, 11:25 am, sunita <[email protected]> wrote:
> Suppose one application is there named "Display". It holds many
> activities.Lets take Root activity is (a).
> I start  activity (b) (which is also a part of Application "Display")
> from a provider class ( which is not activity ).Activity (b) is
> started in new task.I close activity (b).I press home and start
> "display" again.It shows activity (b) , but i want activity (a) to be
> displayed.
>
> Basically I want to shut down the new task that has been started for
> hosting (b).
> I already used the following attributes but still not working as I
> want.
>
>             android:clearTaskOnLaunch="true"
>             android:finishOnTaskLaunch="true"
>
> Any help will be appreciated..
>
> --
> 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 
> athttp://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