I am trying to understand this code
Activity activity = new Activity(“app package goes here”, “app activity goes here”);
So the above we pass the new activity package name?
If we have passed the new app packagename activity name then why we need the below
activity.setAppWaitPackage(“app wait package goes here”);
activity.setAppWaitActivity(“app wait activity goes here”);
What does the below do?
How does the app return back to my old package?