I have an app where I want to build 2 different flow\'s in:
1.b App show\'s an alertbox where user can choose to go to
In my code I have public static ArrayList activity_stack every activity is added in oncreate and removed in ondestroy methods. I check this stack in GcmBroadcastReceiver. I don't know if it's a good solution.
public static ArrayList activity_stack