AndroidManifest.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.ryg.chapter_1"
  4. android:versionCode="1"
  5. android:versionName="1.0" >
  6. <uses-sdk
  7. android:minSdkVersion="8"
  8. android:targetSdkVersion="19" />
  9. <!-- <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> -->
  10. <application
  11. android:allowBackup="true"
  12. android:icon="@drawable/ic_launcher"
  13. android:label="@string/app_name"
  14. android:theme="@style/AppTheme" >
  15. <activity
  16. android:name="com.ryg.chapter_1.MainActivity"
  17. android:configChanges="orientation|screenSize"
  18. android:label="@string/app_name"
  19. android:launchMode="standard" >
  20. <intent-filter>
  21. <action android:name="android.intent.action.MAIN" />
  22. <category android:name="android.intent.category.LAUNCHER" />
  23. </intent-filter>
  24. </activity>
  25. <activity
  26. android:name="com.ryg.chapter_1.SecondActivity"
  27. android:configChanges="screenLayout"
  28. android:label="@string/app_name"
  29. android:launchMode="standard"
  30. android:taskAffinity="com.ryg.task1" />
  31. <activity
  32. android:name="com.ryg.chapter_1.ThirdActivity"
  33. android:configChanges="screenLayout"
  34. android:label="@string/app_name"
  35. android:launchMode="singleTask"
  36. android:taskAffinity="com.ryg.task1" >
  37. <intent-filter>
  38. <action android:name="com.ryg.charpter_1.c" />
  39. <action android:name="com.ryg.charpter_1.d" />
  40. <category android:name="com.ryg.category.c" />
  41. <category android:name="com.ryg.category.d" />
  42. <category android:name="android.intent.category.DEFAULT" />
  43. <data android:mimeType="text/plain" />
  44. </intent-filter>
  45. </activity>
  46. </application>
  47. </manifest>