AndroidManifest.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="com.baidu.autoupdatesdk.demo"
  3. android:versionCode="10"
  4. android:versionName="3.0.0" xmlns:tools="http://schemas.android.com/tools">
  5. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  6. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  7. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  8. <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  9. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  10. <uses-permission android:name="android.permission.INTERNET" />
  11. <uses-permission android:name="android.permission.GET_TASKS"/>
  12. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
  13. <uses-sdk
  14. android:minSdkVersion="8"
  15. android:targetSdkVersion="19" />
  16. <application
  17. android:allowBackup="true"
  18. android:icon="@drawable/demo_logo"
  19. android:label="@string/app_name"
  20. android:theme="@style/AppTheme" >
  21. <meta-data android:name="BDAPPID" android:value="3067515"/>
  22. <meta-data android:name="BDAPPKEY" android:value="f3Os4GAOqxgm79GqbnkT9L8T"/>
  23. <activity android:name="com.example.bdautoupdatedemo.MainActivity"
  24. android:exported="true"
  25. android:screenOrientation="sensor">
  26. <intent-filter>
  27. <action android:name="android.intent.action.MAIN" />
  28. <category android:name="android.intent.category.LAUNCHER" />
  29. </intent-filter>
  30. </activity>
  31. <activity android:name="com.baidu.autoupdatesdk.ConfirmDialoigActivity"
  32. android:screenOrientation="sensor"
  33. android:exported="false"
  34. android:theme="@style/bdp_update_dialog_style_fullscreen" />
  35. <receiver android:name="com.baidu.autoupdatesdk.receiver.BDBroadcastReceiver"
  36. android:exported="false">
  37. <intent-filter>
  38. <action android:name="com.baidu.autoupdatesdk.ACTION_NEW_UPDATE"/>
  39. <action android:name="com.baidu.autoupdatesdk.ACTION_DOWNLOAD_COMPLETE"/>
  40. <action android:name="com.baidu.autoupdatesdk.ACTION_NEW_AS"/>
  41. <action android:name="com.baidu.autoupdatesdk.ACTION_AS_DOWNLOAD_COMPLETE"/>
  42. </intent-filter>
  43. </receiver>
  44. </application>
  45. </manifest>