AndroidManifest.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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:screenOrientation="sensor">
  25. <intent-filter>
  26. <action android:name="android.intent.action.MAIN" />
  27. <category android:name="android.intent.category.LAUNCHER" />
  28. </intent-filter>
  29. </activity>
  30. <activity android:name="com.baidu.autoupdatesdk.ConfirmDialoigActivity"
  31. android:screenOrientation="sensor"
  32. android:exported="false"
  33. android:theme="@style/bdp_update_dialog_style_fullscreen" />
  34. <receiver android:name="com.baidu.autoupdatesdk.receiver.BDBroadcastReceiver"
  35. android:exported="false">
  36. <intent-filter>
  37. <action android:name="com.baidu.autoupdatesdk.ACTION_NEW_UPDATE"/>
  38. <action android:name="com.baidu.autoupdatesdk.ACTION_DOWNLOAD_COMPLETE"/>
  39. <action android:name="com.baidu.autoupdatesdk.ACTION_NEW_AS"/>
  40. <action android:name="com.baidu.autoupdatesdk.ACTION_AS_DOWNLOAD_COMPLETE"/>
  41. </intent-filter>
  42. </receiver>
  43. </application>
  44. </manifest>