From a Service, I launch an Activity in my application. This is not the main application activity, just some random other activity. After the user has interacted with this Activity, I want to close it and return the user to where he was. So say for example he was in Facebook. My Activity gets launched. When he is done interacting with it, I want to return the user to Facebook. However, when I call finish() or backPressed() or anything like that, the Main (launcher) Activity of my application is started. I don't understand why.
Asked
Active
Viewed 19 times