Xml文件  |  43行  |  1.61 KB

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.dreams.web"
    >
    <!-- uses-permission android:name="android.permission.WRITE_SETTINGS" -->
    <uses-permission android:name="android.permission.INTERNET" />
    <application android:label="WebViewDream">
        <service
            android:name="Screensaver"
            android:exported="true"
            android:label="WebView">
            <intent-filter>
                <action android:name="android.service.dreams.DreamService" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </service>

        <activity
            android:name="SetURL"
            android:label="Dream URL"
            android:theme="@android:style/Theme.Translucent.NoTitleBar">

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/plain" />
            </intent-filter>
        </activity>

        <activity
            android:name="SetURLInteractive"
            android:label="Dream URL (Interactive)"
            android:theme="@android:style/Theme.Translucent.NoTitleBar">

            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/plain" />
            </intent-filter>
        </activity>
        </application>
</manifest>