How to get the sender of an Intent?
android
Solution
There may be another way, but the only solution I know of is having Activity A invoke Activity B via `startActivityForResult()`. Then Activity B can use `getCallingActivity()` to retrieve Activity A's identity.
Problem
Is there a way for an `Activity` to find out who (i.e. class name) has sent an `Intent`? I'm looking for a generic way for my `Activity` to respond to a received intent by sending one back to the sender, whoever that may be.