簡體   English   中英

如何獲取 android:name<application>

[英]How to get android:name from <application>

我如何從<application android:theme="@style/AppTheme" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:name="here custom path to java file from patch" android:debuggable="true" android:allowBackup="true" android:resizeableActivity="true"> (在清單中)使用 Java?

您可以像這樣獲取應用程序名稱:-

 String appName =  getApplication().getApplicationInfo().name;

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM