检查android中的小屏幕支持

时间:2013-09-23 12:10:06

标签: android

我已将下面的代码放在android清单文件中。所以我的应用程序不适用于小尺寸屏幕。

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

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

4 个答案:

答案 0 :(得分:1)

如果没有在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

答案 1 :(得分:0)

通过Google Play发布您的应用,并检查哪些设备将被拒绝使用。如果禁用HTC Wildfire等设备,您可以确保应用中不支持小型设备。

答案 2 :(得分:0)

当开发人员制作应用程序时,他们必须在名为androidmanifest.xml文件的文件中指定任何硬件/软件要求。

这些可能是硬件或软件要求,例如应用程序需要GPS或电话功能 - 或者它是否仅适用于某个Android版本。

当您使用Google Play时,它会发送您设备的功能&#39;到服务器,然后相应地过滤应用程序。

Google Play被认为不兼容的最可能原因是它设置为需要特定的屏幕分辨率 - 或者可能是纵向/横向模式默认设置。

某些平板电脑的分辨率较低,并且还告诉谷歌播放他们无法进入人像模式。

也可能是,您的平板电脑是通用的,它没有所需的GPS或传感器,而且市场正在阻止您进行安装。

答案 3 :(得分:0)

您可以将apk文件上传到Google Play服务进行测试。

但是,不要发布。

尝试在小屏幕设备上下载/浏览Google Play。使用Sandbox。