I got 3 activities in my app. Activity A,B and C.
I am in activity B now and I need to know if there are more activities in my activity stack or when I finish activity B I will exit the app.
I found ActivityManager that can do the job, how ever it require GET_TASKS permision.
Is there any other way for doing it?
Unfortunately the answer is just no!