android - android manifest 中的哪些标签可以限制应用程序仅适用于 Playstore 上的手机?

标签 android android-manifest

我想让我的应用仅在手机上可用,即屏幕尺寸小于 5.5 英寸的设备。如何限制我的应用在 Play 商店的平板电脑上可见?

最佳答案

您也可以根据设备尺寸进行申报。

对于您的示例,您可以尝试将最大宽度设置为 600(非平板电脑):

<supports-screens android:largestWidthLimitDp="600"/>

这是另一个基于min width

的例子
<!-- Support only devices with min 600dp witdth (Tablets)-->
<supports-screens android:requiresSmallestWidthDp="600" />

关于android - android manifest 中的哪些标签可以限制应用程序仅适用于 Playstore 上的手机?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30342542/

相关文章:

Android - 如何从头开始更换房屋?

Eclipse 上的安卓模拟器

Android:在长按主页按钮时离开带有主页按钮的应用程序并返回到不同的 Activity

xamarin.android - 具有特定权限的 Monodroid 失败 [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

java - Android 应用程序启动后立即关闭

android - 使用直接标记化的 Google Pay 付款集成

android - 是否可以将 onTouchEvent 传递给 Android 中的多个 View ?

android - APK list 与 temp/Stagingarea list

java - Android: OnBootReceiver: 导出的接收器不需要权限

android - Android 自适应图标的正确图标大小