Android应用程序没有出现在1.5& 1.6设备的Market中,蓝牙是android:required =“false” [英] Android app not appearing in Market for 1.5&1.6 devices, Bluetooth is android:required="false"

查看:238
本文介绍了Android应用程序没有出现在1.5& 1.6设备的Market中,蓝牙是android:required =“false”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的Android应用程序现在可以使用蓝牙(如果可用),但它不是必需的。

所以我将这些行添加到清单中:

 < uses-permission android:name =android.permission.BLUETOOTHandroid:required =false/> 
<使用权限android:name =android.permission.BLUETOOTH_ADMINandroid:required =false/>

问题:发布后,大多数人可以下载应用程序,但应用程序不会显示在市场上: Android b

  • Android 1.5 HTC Magic



  • 我应该更改哪些设备,以便它们在市场上出现这些设备?

    请注意,我们允许包含Android 1.5的SDK级别3:

     < uses-sdk android:minSdkVersion =3android:targetSdkVersion =11/> 

    以前版本的应用程序没有任何蓝牙支持,并且在每个人的市场中都有显示。

    一个想法是Android 1.5 / 1.6不理解 android:required =false,这会消除没有蓝牙的设备,但是这个假设由于前面提到的G1 具有蓝牙功能而无效。



    如果需要,详细信息:完整清单以前版本的清单 Market 我们的内部讨论 关注: http:/ /www.medieval.it/google-is-censoring-bluetooth-on-android-the-proof/menu-id-66.html



    我的解决方案是在市场清单中没有这些行的情况下为1.5 / 1.6发布第二个版本:

     < uses-权限android:name =android.permission.BLUETOOTHandroid:required =false/> 
    <使用权限android:name =android.permission.BLUETOOTH_ADMINandroid:required =false/>

    未来,您还可以通知他们有关更新和下载位置只有bluetooth-build)。



    另一个解决方案可以是:

     < manifest ...> 
    < uses-feature android:name =android.hardware.bluetoothandroid:required =false/>
    < uses-permission android:name =android.permission.BLUETOOTH_ADMIN/>
    < uses-sdk android:minSdkVersion =3android:targetSdkVersion =11/>
    ...
    < / manifest>

    或者:

     < manifest ...> 
    < uses-permission android:name =android.permission.BLUETOOTH_ADMIN/>
    < uses-sdk android:minSdkVersion =3/>
    ...
    < / manifest>

    感谢您的慷慨解囊!

    来源因此: http:// developer .android.com / guide / topics / manifest / uses-feature-element.html#bt-permission-handling


    Our Android app can now use Bluetooth if available, but it is not required.
    So I added these lines to the manifest:

    <uses-permission android:name="android.permission.BLUETOOTH" android:required="false" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:required="false"/>
    

    PROBLEM: After publication, most people can download the app, but the app does not show up in the Market for:

    • Android 1.5 HTC Magic
    • Android 1.6 G1

    What should I change so that it appears in the Market with those devices too?

    Please note that we allow SDK level 3, which includes Android 1.5:

    <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11"/>
    

    The previous version of the app did not have any Bluetooth support, and it was showing in everybody's Market.
    An idea was that Android 1.5/1.6 does not understand android:required="false", which would eliminate devices with no Bluetooth, but this hypothesis is invalidated by the fact that the previously mentioned G1 has Bluetooth.

    Details if needed: full manifest, manifest of previous version, Market, our internal discussion.

    解决方案

    Maybe it's just impossible, because of security concerns: http://www.medieval.it/google-is-censoring-bluetooth-on-android-the-proof/menu-id-66.html

    My solution would be to release a second version for 1.5/1.6 without these lines in the manifest for the market:

    <uses-permission android:name="android.permission.BLUETOOTH" android:required="false" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:required="false"/>
    

    In the future, you could also inform them about an update and the download location (of the one and only bluetooth-build) from within ankidroid.

    Another solution could be:

    <manifest ...>
    <uses-feature android:name="android.hardware.bluetooth" android:required="false" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11" />
    ...
    </manifest>
    

    or just:

    <manifest ...>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-sdk android:minSdkVersion="3" />
    ...
    </manifest>
    

    Thanks for you generosity!

    Source for that is: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#bt-permission-handling

    这篇关于Android应用程序没有出现在1.5&amp; 1.6设备的Market中,蓝牙是android:required =“false”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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