I have two apps App-B launches App-A. If the user starts App B from inside App A I call finish on App-A so I have no problem.
If the user goes straight to App B from th
I may be wrong in understanding what you are asking, but is it that when you launch B, you want A to be killed?
In A, add this to the activity tag in the manifest:
android:noHistory=true
This will cause the activity to be removed from memory as soon as it loses focus.