How to get Android application id?

后端 未结 13 662
失恋的感觉
失恋的感觉 2020-12-07 18:26

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?

13条回答
  •  星月不相逢
    2020-12-07 18:56

    Package name is your android app id .

    String appId = BuildConfig.APPLICATION_ID

    Or

    https://play.google.com/store/apps/details?id=com.whatsapp

    App Id = com.whatsapp

提交回复
热议问题