android限制小屏幕的apk安装 [英] android restricting apk install for small screens

查看:25
本文介绍了android限制小屏幕的apk安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何限制我的 apk 不安装在小型设备上,我知道 support-screens 参数,但据我所知,如果用户直接从 apk 安装,它将不起作用.

How can I restrict my apk to not install on small devices, I know about the support-screens parameter but as I understand correctly , it won't work if user is installing directly from apk.

推荐答案

我认为您只能限制可以在市场上看到您的应用程序的设备.如果他们拥有您的 apk,就无法阻止他们.但是,您可以在启动时检查分辨率,并显示警报或其他内容.

I think you can only restrict devices that can see your app in the market. If they have your apk, there's no stopping them. You can however check the resolution on startup, and display an alert or something.

这篇关于android限制小屏幕的apk安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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