"应用程序没有安装"为动态壁纸,在某些手机上
问题描述:
我做了一个动态壁纸为客户,他们已经有一个报告,与Galaxy S的一个朋友(2.2版,植根)越来越没有安装应用程序,当他们尝试安装。
I made a Live Wallpaper for a client, and they've had a report that a friend with a Galaxy S (running 2.2, rooted) is getting "Application not installed" when they try to install.
我没有在设备/模拟器我有过这样的自己,也没有我的客户。我只能想象它是与AndroidManifest.xml中做
I've not had this myself on the devices/emulator I have, neither did my client. I can only imagine it is to do with AndroidManifest.xml
下面是:
<application android:icon="@drawable/icon" android:label="World Rugby NZ 2011 LIVE Wallpaper">
<service
android:label="World Rugby NZ 2011"
android:name=".RugbyWallpaper"
android:permission="android.permission.BIND_WALLPAPER">
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
</intent-filter>
<meta-data android:name="android.service.wallpaper" android:resource="@xml/wallpaper" />
</service>
</application>
<uses-feature android:name="android.software.live_wallpaper" />
<uses-sdk android:minSdkVersion="7" />
我有这/res/xml/wallpaper.xml
I have this in /res/xml/wallpaper.xml
<wallpaper xmlns:android="http://schemas.android.com/apk/res/android"
android:thumbnail="@drawable/icon"
/>
有什么我失踪?
答
它有点晚了一个答案,但也许它可以帮助别人:
Its a bit late for an answer but perhaps it helps someone:
您必须添加活动
的设置到Android清单
You have to add the Activity
of your settings to the Android manifest
<application android:icon="@drawable/icon" android:label="World Rugby NZ 2011 LIVE Wallpaper">
<service
.
.
.>
</service>
<activity
android:name=".WhateverYourSettingsAreCalled"
android:label="@string/title_wall_settings"
android:exported="true" >
</activity>