AndroidManifest.xml 文件获取 meta-data值。
AndroidManifest.xml文件结构如下:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.l.adlib_android"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".ad"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="appkey" android:value="12344567"/>
</application>
</manifest>
如何获取<meta-data android:value 里的值?
多谢!