Dianne Hackborn | 067e5f6 | 2014-09-07 23:14:30 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | package="com.example.wallpapertest" > |
| 4 | |
| 5 | <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> |
| 6 | |
| 7 | <application |
| 8 | android:label="@string/app_name" |
| 9 | android:theme="@style/AppTheme" > |
| 10 | <activity |
| 11 | android:name=".MainActivity" |
| 12 | android:label="@string/app_name" > |
| 13 | <intent-filter> |
| 14 | <action android:name="android.intent.action.MAIN" /> |
| 15 | <category android:name="android.intent.category.LAUNCHER" /> |
| 16 | </intent-filter> |
| 17 | </activity> |
| 18 | |
| 19 | <service |
| 20 | android:label="@string/test_wallpaper" |
| 21 | android:name=".TestWallpaper" |
| 22 | android:permission="android.permission.BIND_WALLPAPER" |
| 23 | android:enabled="true"> |
| 24 | <intent-filter> |
| 25 | <action android:name="android.service.wallpaper.WallpaperService" /> |
| 26 | </intent-filter> |
| 27 | <meta-data android:name="android.service.wallpaper" |
| 28 | android:resource="@xml/test_wallpaper" /> |
| 29 | </service> |
| 30 | </application> |
| 31 | </manifest> |