如何preVIEW哪些设备一requiresSmallestWidthDp配置匹配? [英] How to preview which devices a requiresSmallestWidthDp config matches?

查看:535
本文介绍了如何preVIEW哪些设备一requiresSmallestWidthDp配置匹配?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如众所周知,限制谷歌播放分布具有一定规模的设备,你会使用<支持屏> <兼容屏> ,视您的需要。

As is well-known, to limit Google Play distribution to devices with certain dimensions, you'd use <supports-screens> or <compatible-screens>, depending on your needs.

例如,允许安装仅7平板电脑或更大时,你会设置 requiresSmallestWidthDp 600

For example, to allow installation only on 7" tablets or larger, you'd set requiresSmallestWidthDp to 600:

<supports-screens 
    android:smallScreens="false"
    android:normalScreens="false"
    android:largeScreens="true"
    android:xlargeScreens="true"
    android:requiresSmallestWidthDp="600" />

我的问题是,有没有什么办法来检查,事先,具体的配置将匹配哪些设备(上传您的APK玩之前)?

My question is, is there any way to check, in advance (before uploading your APK to Play), which devices a specific config would match?

例如在我的情况,我目前支持平板电脑,并计划逐步让更小的设备,从5.7开始,5屏幕。能够preVIEW例如哪些设备 normalScreens =真正的&安培; requiresSmallestWidthDp =360的比赛将是非常有用的。

For example in my case, I currently support tablets and plan to gradually allow smaller devices, starting from 5.7" and 5" screens. Being able to preview what devices for example normalScreens="true" & requiresSmallestWidthDp="360" matches would be very useful.

之后的,当然,你可以看到这些信息直接在谷歌播放,在APK - >设备的兼容性。

Afterwards, of course, you can see this information directly on Google Play, in APK -> Device Compatibility.

但试错在谷歌播放将是笨拙的,因为它上传新的APK,以使更改生效后,需要几个小时。

But trial-and-error on Google Play would be clumsy, since it takes several hours after uploading a new APK for the changes to take effect.

或者,有检查 smallestWidthDp 常见的设备模型的任何COM prehensive资源?这是一个有点麻烦,从原始的像素分辨率和放大器核算;密度(DPI)及每次屏幕尺寸以英寸为单位。谷歌搜索&LT;装置&gt; smallestWidthDp 也给出了令人惊讶的成绩不佳。

Alternatively, is there any comprehensive resource for checking smallestWidthDp for common device models? It's a bit of a hassle to calculate it from raw pixel resolution & density (dpi) & screen size in inches every time. Googling <device> smallestWidthDp also gives surprisingly poor results.

推荐答案

不是一个直接的答案,但你没有发布自己的应用(因此等待几个小时),查看兼容设备列表。

Not a direct answer, but you don't have to publish your app (and thus wait several hours) to see list of compatible devices.

前两天我上传的测试程序,亲自去看支持设备列表

Couple of days ago I uploaded test app myself to see the list of devices supporting

<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

只要进入 https://play.google.com/apps/publish/,上传APK。您的应用程序入口将在草稿模式下,没有公布,而且会有以支持设备的链接。

Just go to the https://play.google.com/apps/publish/, upload APK. Your app entry will be in Draft mode, not published, and there will be a link to supported devices.

https://www.dropbox.com/s/euvclc44lfsirsv/Screen%20Shot%202014-02-28%20at%2008.50.55.png

这篇关于如何preVIEW哪些设备一requiresSmallestWidthDp配置匹配?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆