I have an application with activities back stack A -> B -> C -> D -> E. Now at activity E, I want to know the back stack activities that I navigated from. How do I find this
You can use "adb shell dumpsys activity activities" command
for reference http://www.onsandroid.com/2015/01/find-back-stack-activities-in-android.html