How to exlude all the devices which have low GPU in Android Manifest?

拥有回忆 提交于 2019-11-29 14:10:22

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.

See the Support-Screen Dev Doc

You can exclude specific devices when submitting the app to the market. Rather do it there than in the manifest, as it's not possible to specify the required GPU in the manifest, and screen size is not necessarily an indicator of GPU power.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!