机器人:为什么我的应用"不"我2.3.3设备(市场) [英] android: why is my app "not available" for my 2.3.3 device (in the market)

查看:135
本文介绍了机器人:为什么我的应用"不"我2.3.3设备(市场)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我发表我的应用程序,并意识到它不适用于我的Andr​​oid 2.3.3的设备。 (不在搜索结果中获得发EMAIL:info@gildemeister.com,当我直接访问应用程序页面,Android Market的告诉我,这是不适用于我的设备)。

Yesterday I released my app and realised that it is not available for my android 2.3.3 device. (Does not get listet in search results, and when I access the app page directly, android market tells me that it is not available for my device).

我的表现,这可能是问题的线(IMO)看起来像:

The lines of my manifest, which could be the issue (IMO) look like that:

<uses-sdk
    android:minSdkVersion="7"
    android:targetSdkVersion="8" />

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

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

我能想到这些都可能有所作为的唯一的事情是,我有插在那个电话 - 无SIM卡,但我有无线网络连接。 (将在晚上SIM卡试试吧)

The only thing I can think of which could make a difference is that I have no SIM card inserted on that phone- but I have Wifi access. (will try it with SIM card in the evening)

任何想法?

推荐答案

应用程序需要自动对焦摄像头,除非你加`机器人:要求=假的使用特征标记。

Application requires autofocus camera unless you add `android:required="false" to the use-feature tag.

从技术文档,看最后的if语句:

From documentation, see last if statement:

筛选的基础上明确声明的功能

Filtering based on explicitly declared features

这是显式声明的特点是一个应用程序声明的元素。该功能的声明可以包括机器人:要求=真| 假]属性(如果您正在编译针对API级别5或更高版本),它可以让你指定应用程序是否确实需要此功能,不能没有它正常工作(真),还是应用prefers到如果有使用该功能,但设计到没有它运行(假)。

An explicitly declared feature is one that your application declares in a element. The feature declaration can include an android:required=["true" | "false"] attribute (if you are compiling against API level 5 or higher), which lets you specify whether the application absolutely requires the feature and cannot function properly without it ("true"), or whether the application prefers to use the feature if available, but is designed to run without it ("false").

Android Market的手柄明确宣布这样的特点:

Android Market handles explicitly declared features in this way:

If a feature is explicitly declared as being required, Android Market adds the feature to the list of required features for the application. It then filters the application from users on devices that do not provide that feature. For example:

<uses-feature android:name="android.hardware.camera" android:required="true" />

If a feature is explicitly declared as not being required, Android Market does not add the feature to the list of required features. For that reason, an explicitly declared non-required feature is never considered when filtering the application. Even if the device does not provide the declared feature, Android Market will still consider the application compatible with the device and will show it to the user, unless other filtering rules apply. For example:

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

If a feature is explicitly declared, but without an android:required attribute, Android Market assumes that the feature is required and sets up filtering on it.

这篇关于机器人:为什么我的应用&QUOT;不&QUOT;我2.3.3设备(市场)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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