title: How to set a return intent for an activity?
body: <p>I have two separate activities that both can reference a third activity. Basically I wanted the third activity to understand which of the two has called it, and then return to that activity when the time is appropriate. I have seen and understand the "putExtra", but passing it off as a string, and then using string functions (such as .equals()), seems to be an inefficient way to understand what to return to. Is there a better way of doing this that I'm not familiar with?</p>