How can I find out which activity started the current intent? Example: Activity A starts Activity B through an intent startIntentForResult().
Can activity B find the package name of the application that contains activity A? Something like getComponent(), but not for activity B, but for activity A. Somehow the system must know about this, because the intent is sent back to the calling activity A after activity B is done. I would like to know whether activity B can also access this information, and treat specific packages (e.g. trusted packages) in a priviledged way. Peli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---