2014-05-10 169 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英寸。 –