Xml文件  |  36行  |  1.23 KB

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.android.strictmodetest"
      android:versionCode="1"
      android:versionName="1.0">

  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.WRITE_SDCARD" />
  <uses-permission android:name="android.permission.WRITE_SETTINGS" />

  <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="7" />

  <application android:label="Strict Mode Tester">

    <activity android:name="StrictModeActivity"
              android:label="Strict Mode Tester">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>

    <service android:name=".RemoteService"
             android:label="Remote Strict Service"
             android:exported="true"
             android:process=":strictservice" />

    <service android:name=".LocalService"
             android:label="Remote Strict Service"
             android:exported="true" />

  </application>

</manifest>