Android:SD卡有使用功能选项吗? [英] Android: Is there a uses-feature option for the sd card?

查看:83
本文介绍了Android:SD卡有使用功能选项吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些来自Google的较新的设备不包含sd卡,看来它们正在朝着这个方向发展.

Some of the newer devices coming out from Google do not include an sd card, and it appears they are moving towards this direction.

我的问题:是否可以将SD卡声明为使用功能,以防止没有外部存储设备的人从Google Play中查看/下载该应用程序?

My question: Is there a way to declare the sd card as a uses-feature to prevent people without an external storage from seeing/downloading the app from Google Play?

我意识到这不是解决问题的正确方法,但是直到我可以重新编码我的应用程序以预料到这一点之前,我希望清单中有一个过滤选项?

I realize this is not the correct way to address the issue, but until i can re-code my apps to anticipate this, I am hoping there is a filtering option in the manifest?

推荐答案

没有<uses-feature>可以满足您的需求.

There is no <uses-feature> which does what you want.

您可以做的是在Google Play的开发人员信息中心内手动选择设备.我知道这效率很低,可能会花费很多时间,但这是实现您想要的唯一方法.

What you could do is manually select the devices within your developer dashboard on Google Play. I know this is very inefficient and will probably take a lot of time but it's the only way of achieving exactly what you want.

如果您不想为此而烦恼,那么我建议您将此信息包括在Google Play上的应用程序说明中,并在处理首次启动应用程序的情况下(例如,通知用户该设备不受支持,因为它没有外部存储.

If you don't want to bother with that then i would recommend that you include this information in your app's description on Google Play and on top of that handle the situation when your application is started up for the first time (for example inform the user that the device is not supported because it has no external storage).

这篇关于Android:SD卡有使用功能选项吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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