0

携帯電話対応に最適化したアプリを作りました。Nexus 10、Nexus 7 などの大画面のタブレット PC をサポートしたくありません。AndroidManifest.xml でそれを処理するにはどうすればよいですか?

4

1 に答える 1

1

Explicitly declare in the manifest which screen sizes your application

Syntax

<supports-screens 
android:resizeable=["true"| "false"] 
android:smallScreens=["true" | "false"] 
android:normalScreens=["true" | "false"] 
android:largeScreens=["true" | "false"] 
android:xlargeScreens=["true" | "false"] 
android:anyDensity=["true" | "false"] 
android:requiresSmallestWidthDp="integer" 
android:compatibleWidthLimitDp="integer" 
android:largestWidthLimitDp="integer"/>

In your case :

<supports-screens android:xlargeScreens="false" /> 

After this playstore will show your app to devices except xlarge screen

于 2014-03-09T07:44:47.003 に答える