如何exlude所有这一切都在Android清单低GPU的设备?都在、这一切、清单、设备

2023-09-05 02:07:24 作者:花开花落埋葬了谁的青春

基本上,我创建了一个动态壁纸为Android,并试图在我的Droid X,Galaxy S的,和着迷。而且我注意到,它运行smootly银河S和Fasciante但不是在Droid X的有更低的GPU。我的问题是,反正是有exlude所有具有低GPU的Andr​​oid清单的设备?我计划很快发布此居住的壁纸。请帮帮我!

Basically, I created a live wallpaper for Android and tried it in my Droid X, Galaxy S, and Fascinate. And I noticed that it runs smootly in Galaxy S and Fasciante but not in Droid X which has lower GPU. My question is, is there anyway to exlude all the devices which has low GPU in Android Manifest? I am planning to publish this live wallpaper soon. Please help me!

推荐答案

您可以添加支持屏的清单,并通过在一个真正的假valuefor每个大小。下面的例子将排除所有手机。

You can add supports-screens to the manifest, and pass in a true false valuefor each size. The below example would exclude all mobile handsets.

编号想象一个解决方案,你想会是类似这样的缩小都记录下来,以确切。

Id imagine a solution to narrow everything down to exactly you want would be similar to this.

<manifest ... >
    <supports-screens android:smallScreens="false"
                      android:normalScreens="false"
                      android:largeScreens="false"
                      android:xlargeScreens="true"
                      android:requiresSmallestWidthDp="600" />
    <application ... >
        ...
    </application>
</manifest>

其他的事情都可以和诸如密度值。

Other things are available as well such as Density values.

请参见支持屏幕开发文档