ライブ壁紙 xml めも

<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”mobi.tomo.wallpaper01″
android:versionCode=”1″
android:versionName=”1.0″ >

<uses-sdk android:minSdkVersion=”7″ />
<uses-feature android:name=”mobi.tomo.wallpaper01″ />

<application
android:icon=”@drawable/ic_launcher”
android:label=”@string/app_name” >

<service
↓↓↓使用するclass名を設定
android:name=”.MainWallpaparService”
↓↓↓アプリケーション名を設定
android:label=”ライブ壁紙.tomo.mobi”
android:permission=”android.permission.BIND_WALLPAPER”>
<intent-filter>
<action android:name=”android.service.wallpaper.WallpaperService” />
</intent-filter>
<meta-data
android:name=”android.service.wallpaper”
↓↓↓ディスクリプションとアイコンの設定は別xml
android:resource=”@xml/res_sample”/>

</service>

</application>
</manifest>

関連記事