gpt4 book ai didi

android - 摩托罗拉 XOOM 平板电脑的应用程序未出现在 Android Market 中

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:52:57 26 4
gpt4 key购买 nike

我们有一个 android 应用程序,其 list 设置了以下配置:

minsdkVersion = "4"

<supports-screens
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="false" />

但是,当使用 Motorola XOOM 设备的用户浏览 Android Market 时,他不会显示我们的应用程序。

为什么会这样?

最佳答案

我遇到了同样的问题。随着包括android:xlargeScreens="true"我发现这是解决方法。

The Android Market treats as though requesting a permission like CALL_PHONE also requests:

<uses-feature
android:name="android.hardware.telephony"
/>

The XOOM does not have telephony — the first Android Market-compliant device with that limitation. While it can have a data plan, it has no voice or SMS capability, and so it is treated as not having android.hardware.telephony. But, if you request permissions like CALL_PHONE, the Android Market by default will assume you need android.hardware.telephony. As a result, you will be filtered out of the Market for the XOOM.

The solution is simple: for any hardware features that might be implied by permissions but that you do not absolutely need, manually add the appropriate element to your manifest with android:required="false":

<uses-feature
android:name="android.hardware.telephony"
android:required="false" />

来自这个博客: The CommonsBlog - XOOM, Permissions, and the Android Market

关于android - 摩托罗拉 XOOM 平板电脑的应用程序未出现在 Android Market 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5116768/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com