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 by application id
, you're referring to package name
, you can use the method Context::getPackageName
(http://http://developer.android.com/reference/android/content/Context.html#getPackageName%28%29).
In case you wish to communicate with other application, there are multiple ways:
If you can elaborate your exact requirement, the community will be able to help you better.