AndroidManifest.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.ryg.chapter_5"
  4. android:versionCode="1"
  5. android:versionName="1.0" >
  6. <uses-sdk
  7. android:minSdkVersion="8"
  8. android:targetSdkVersion="19" />
  9. <application
  10. android:allowBackup="true"
  11. android:icon="@drawable/ic_launcher"
  12. android:label="@string/app_name"
  13. android:theme="@style/AppTheme" >
  14. <activity
  15. android:name=".TestActivity"
  16. android:configChanges="orientation|screenSize"
  17. android:label="@string/app_name"
  18. android:launchMode="standard" />
  19. <activity
  20. android:name=".DemoActivity_1"
  21. android:configChanges="screenLayout"
  22. android:exported="true"
  23. android:label="@string/title_scene_1"
  24. android:launchMode="standard" />
  25. <activity
  26. android:name=".DemoActivity_2"
  27. android:configChanges="screenLayout"
  28. android:exported="true"
  29. android:label="@string/title_scene_2"
  30. android:launchMode="standard" />
  31. <activity
  32. android:name=".MainActivity"
  33. android:label="@string/app_name"
  34. android:process=":remote" >
  35. <intent-filter>
  36. <action android:name="android.intent.action.MAIN" />
  37. <category android:name="android.intent.category.LAUNCHER" />
  38. </intent-filter>
  39. </activity>
  40. <receiver android:name=".MyAppWidgetProvider" >
  41. <meta-data
  42. android:name="android.appwidget.provider"
  43. android:resource="@xml/appwidget_provider_info" >
  44. </meta-data>
  45. <intent-filter>
  46. <action android:name="com.ryg.chapter_5.action.CLICK" />
  47. <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
  48. </intent-filter>
  49. </receiver>
  50. </application>
  51. </manifest>