Cableguy Expert Licensed User Longtime User Jan 7, 2012 #1 Is there any way of knowing from what activity the "current" one is resuming from, or if its resumong from another System/app instance???
Is there any way of knowing from what activity the "current" one is resuming from, or if its resumong from another System/app instance???
JonPM Well-Known Member Licensed User Longtime User Jan 8, 2012 #2 Do you mean something like MainActivity-->SecondActivity-->MainActivity? And know that there user came from second act? Sent from my DROIDX Upvote 0
Do you mean something like MainActivity-->SecondActivity-->MainActivity? And know that there user came from second act? Sent from my DROIDX
C COBRASoft Active Member Licensed User Longtime User Jan 8, 2012 #3 You could use a code file and add a global 'PreviousActivity' field. At the end of each activity pause you set that one as the 'previous'. In the Activity resume you can check the 'Previous' for its value and act accordingly. The method written above works when all activities are in the same project or are using the same code module. Upvote 0
You could use a code file and add a global 'PreviousActivity' field. At the end of each activity pause you set that one as the 'previous'. In the Activity resume you can check the 'Previous' for its value and act accordingly. The method written above works when all activities are in the same project or are using the same code module.