2014-05-10 166 views
1

我想阻止用户使用小于7英寸的设备下载我的应用程序。Android中支持的屏幕

我知道我可以在Android Manifest中定义支持屏幕,但这只是关于密度。我的意思是一个高密度的小型设备与低密度的大屏幕同级。

我也知道我可以在GooglePlay的应用属性中禁用特定设备。

任何想法?

回答

0

答案是这样的链接http://developer.android.com/guide/practices/screens_support.html

答案的快照上:

Explicitly declare in the manifest which screen sizes your application supports 
By declaring which screen sizes your application supports, you can ensure that only devices with the screens you support can download your application. Declaring support for different screen sizes can also affect how the system draws your application on larger screens—specifically, whether your application runs in screen compatibility mode. 
To declare the screen sizes your application supports, you should include the <supports-screens> element in your manifest file. 

<supports-screen>的细节可以发现here

+0

你有没有一个关于如何在Android-Manifest中定义这个的实际例子。 Perhabs由于缺乏英文,我不明白。我的猜测是,你只能定义关于密度的屏幕尺寸。但我喜欢阻止用户下载屏幕小于7英寸。 –