android - 如何在 Android 中限制平板电脑的应用程序?

标签 android google-play tablet

我想让我的应用程序只在移动设备上运行,而不是在

tablet 10 and 7 inch

.但我的应用程序在两种平板电脑尺寸上运行。请帮助我

最佳答案

是的,正如@OceanLife 所说,您应该选择 compatible-screenssupports-screens .

但我想在这里添加一些内容。

如果你正在使用

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

然后注意什么官方compatible-screens文档说:

if you want your application to be available only for large and xlarge screen devices, the element allows you to declare that your application does not support small and normal screen sizes. External services (such as Google Play) will filter your application accordingly. You can also use the element to declare whether the system should resize your application for different screen sizes.

因此它将在您将 apk 文件上传到 PlayStore 后生效。直到您不会受到此功能的影响。

另见 Filters on Google Play文档以获取有关 Google Play 如何使用此 list 元素和其他 list 元素过滤应用程序的更多信息。

希望对您有所帮助。

关于android - 如何在 Android 中限制平板电脑的应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14729410/

相关文章:

android - 尝试在空对象引用 2 上调用虚拟方法 'void android.widget.TextView.setText(java.lang.CharSequence)'

java - 此版本不符合 Google Play 64 位要求。 native java 应用程序的所有 .so 均已存在

delphi - 为什么屏幕返回的分辨率低于我的 Windows 8 平板电脑设置的分辨率?

android - 整合谷歌加

android - 未找到 JNI_OnLoad 跳过 init > 应用程序关闭

android - 由于应用程式版本,无法上传APK到Play商店失败

Android 证书更改了吗?

c++ - 如何在 Windows 7 平板设备中使用 C++ 调出屏幕键盘?

android - Google IO Sched 应用程序 - 平板电脑布局和 fragment

android - TabSpec SetContent 到 fragment