here is my complicated scenario.
step 1; I opened google.com from a web browser on my emulator and opened some images in it, and I pressed the home key and opened my application in which I wrote the code to get the highest activity name and the package of the current task, I mean, that I received information about browser activity ... step 2; from this information, I started the browser from my activity. The old browser starts where it remains the same (showing some images), but when I press the back key on my emulator, it doesn’t fit my application, it returns google.com, and then if I press the back button, it fits my application .... and again, if I run the browser application from my code, it runs on the google main page .. I want to run it in the image section as I need.
manju source share