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?
For getting AppId (or package name, how some says), just call this:
But be sure that you importing BuildConfig with your app id packages path
BuildConfig
BuildConfig.APPLICATION_ID