[英]Publish Android application for 7 and 10 inch tablet only
How can I publish an application for 7 and 10 inch tablets only on playstore? 如何仅在Playstore上发布7和10英寸平板电脑的应用程序? I've a specific requirement to publish the application for those 2 tablets only. 我有一个特定的要求,只发布这两个平板电脑的应用程序。 Is there any code or restriction on Play Console through which I can restrict other tablets and devices? Play控制台上是否有任何代码或限制,我可以限制其他平板电脑和设备? I have searched in Play Console but I cannot target specifically those 2 sizes only. 我在Play Console中搜索过,但我不能专门针对那两种尺寸。
You can programmatically check the screen size using some Java code. 您可以使用某些Java代码以编程方式检查屏幕大小。 This post goes into the details. 这篇文章详细介绍。
When your app gets launched, check the screen size of the device. 启动应用程序后,请检查设备的屏幕大小。 If it doesn't match your requirements, you can simply not launch your app. 如果它不符合您的要求,您就不能启动您的应用。 This is however not an ideal solution. 然而,这不是理想的解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.