开发者

What is <compatible-screens> and <uses-gl-texture> in Android Market filtering?

I received an email from Google Android Market Support stating :-

Market will support filtering based on screen sizes and densities, as well as on GL texture compression formats. Filtering is based on <compatibl开发者_运维百科e-screens> and <uses-gl-texture> elements in an app’s manifest.

However I don't see <compatible-screens> or <uses-gl-texture> in the documentation. Are these new features, or is it a typo for <supports-screens> and <uses-feature android:glEsVersion="..." />?


Very old question, but since now they have been documented:

<compatible-screens>

Description

Specifies each screen configuration with which the application is compatible. Only one instance of the <compatible-screens> element is allowed in the manifest, but it can contain multiple <screen> elements. Each <screen> element specifies a specific screen size-density combination with which the application is compatible.

Syntax

<compatible-screens>
    <screen android:screenSize=["small" | "normal" | "large" | "xlarge"]
            android:screenDensity=["ldpi" | "mdpi" | "hdpi" | "xhdpi"] />
    ...
</compatible-screens>

The <uses-gl-texture> seems to be renamed to <supports-gl-texture> in production.

<supports-gl-texture>

Description

Declares a single GL texture compression format that is supported by the application.

An application "supports" a GL texture compression format if it is capable of providing texture assets that are compressed in that format, once the application is installed on a device. The application can provide the compressed assets locally, from inside the .apk, or it can download them from a server at runtime.

Each <supports-gl-texture> element declares exactly one supported texture compression format, specified as the value of a android:name attribute. If your application supports multiple texture compression formats, you can declare multiple <supports-gl-texture> elements. For example:

<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" />
<supports-gl-texture android:name="GL_OES_compressed_paletted_texture" />

Both elements, just as mentioned in the question, is for filtering only (on Android Market/Google Play Store, or by other apps). Android doesn't check the app compatibility on install-time & runtime.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜