我想上传一个应用程序,它应该只适用于智能手机(应用程序需要功能才能开始通话,所以我想排除平板电脑......)
我读了 Googles Supporting Multiple Screens and compatible-screens。我找到了supported-screens,但该android:largestWidthLimitDp
属性在“API13”中可用,我从“API10”开始。
有一些较新的设备(Xperia Z、Galaxy S4 和 HTC One)使用drawable-xxhdpi
图形并且具有类似于平板电脑的屏幕分辨率。
问题:此清单声明是否仅适用于智能手机,包括新智能手机?
<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- support for Xperia Z, Galaxy S4 and HTC One -->
<screen android:screenDensity="480" android:screenSize="normal" />
<screen android:screenDensity="480" android:screenSize="large" />
</compatible-screens>