In Android, how do I get the application\'s id programatically (or by some other method), and how can I communicate with other applications using that id?
If your are looking for the value defined by applicationId in gradle, you can simply use
applicationId
BuildConfig.APPLICATION_ID