Android - How to get application name? (Not package name)

后端 未结 12 2238
天涯浪人
天涯浪人 2020-11-27 15:17

In my manifest I have:

  

        
12条回答
  •  一个人的身影
    2020-11-27 15:51

    Have you tried using the PackageManager#getActivityInfo() method? There will be a field that should contain the name of the application.

    See the answer to a very similar question here.

提交回复
热议问题