0

I am using this example: How to inform an Activity that another Activity was just started? for applications that are opening and closing, but my question is, how I can get the package name using the id that I receive?

Community
  • 1
  • 1
FireZenk
  • 1,056
  • 1
  • 16
  • 28
  • if you wrote the app, you should know the package name. If you didn't write it, then you cannot get the package name. It's one of the security features of Android. – Bill Gary Feb 19 '12 at 19:09
  • IActivityWatcher is a hiden api... the id is obviously outside my app, but there must be a way – FireZenk Feb 19 '12 at 21:41

0 Answers0