"应用程序没有安装"为动态壁纸,在某些手机上 [英] "Application not installed" for Live Wallpaper, on some phones

查看:105
本文介绍了"应用程序没有安装"为动态壁纸,在某些手机上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个动态壁纸为客户,他们已经有一个报告,与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>

这篇关于&QUOT;应用程序没有安装&QUOT;为动态壁纸,在某些手机上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆