android - 检查android中的小屏幕支持

标签 android

我已将以下代码放入 android list 文件中。所以我的应用程序无法在小尺寸屏幕上运行。

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

但是现在当我通过 eclipse 在小屏幕设备上运行应用程序时,它可以安装。 如果我想检查小屏幕设备是否无法从 Google Play 商店下载应用程序,我该如何测试? 我想在上传到 Play 商店之前检查一下。

最佳答案

如果不在 Playstore 上发布应用程序,您将无法进行测试,因为只有 Google Play 会处理它。

To do so, you can enable filtering by external services such as Google Play by adding 
elements to your manifest file that specify the screen configurations your application 
supports.

External services such as Google Play use this information to apply filtering to your 
application, so that only devices that have a screen configuration with which you declare   
compatibility can download your application.

更多信息Documentation

关于android - 检查android中的小屏幕支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18958918/

相关文章:

java - 模拟 GPS 位置问题

java - 通过 AIDL 从服务传递到 UI 线程的自定义类

java - 有没有可以用来打电话的API?

android - Google Tango 之后的区域学习

java - 显示 PopOver 时 android.view.WindowManager$BadTokenException

android - 如何在 Android 中为特定文件设置 imageview 的图像?

java - 如何在 Android 中监听 TextView 并对同一个 TextView 进行更改

java - String.format 无法在某些设备上格式化数字?

android - 如何在不调整大小的情况下显示大位图,就像在画廊中一样

android - 使用单一 Intent 选择图像和 Pdf