honoring the back stack across applications

Problem: if my app invokes a browser how to maintain the back track to my app?

Read this first: tasks and back stack from google

a task is a collection or a stack of activities

to make room for a new initiated task

If your activity starts a browser, that browser may have its own stack and hence the back button may not bring you back to your app but will cycle through the previous history of the browser stack.

Pressd and hold the home key to see a stack of tasks

As another example, the Android Browser application declares that the web browser activity should always open in its own task?by specifying the singleTask launch mode in the element. This means that if your application issues an intent to open the Android Browser, its activity is not placed in the same task as your application. Instead, either a new task starts for the Browser or, if the Browser already has a task running in the background, that task is brought forward to handle the new intent.

Regardless of whether an activity starts in a new task or in the same task as the activity that started it, the BACK key always takes the user to the previous activity. However, if you start an activity from your task (Task A) that specifies the singleTask launch mode, then that activity might have an instance in the background that belongs to a task with its own back stack (Task B). In this case, when Task B is brought forward to handle a new intent, the BACK key first navigates backward through the activities in Task B before returning to the top-most activity in Task A. Figure 4 visualizes this type of scenario

Clearly I need to do something different to make the browser come back to me.

flag_activity_new_task browser activity start android

Search for: flag_activity_new_task browser activity start android

Read this: activity and task design guidelines

how can i come back from a browser activity to my activity that launched it

Search for: how can i come back from a browser activity to my activity that launched it

start a browser activity intent flags android

Search for: start a browser activity intent flags android

This I think is my problem

awsome no solution :(

android navigating back from a browser activity

Search for: android navigating back from a browser activity

in android how can i go back to my activity from a browser activity

Search for: in android how can i go back to my activity from a browser activity

dianne browser activity back button

Search Google for: dianne browser activity back button

Search Android Developers Group for: dianne browser activity back button

Search Android Beginers Group for: dianne browser activity back button

Search Google Code for: dianne browser activity back button

Search Android Issues Database for: dianne browser activity back button