我刚刚知道要限制我的应用程序只能下载到手机上,不能下载到平板电脑上,我必须通过添加
<uses-feature android:required="true" android:name="android.hardware.telephony"></uses-feature>
现在我的问题是平板电脑是否支持电话,我可以通过平板电脑调用常规电话吗?我刚刚看到一些帖子说这是可能的。如果是,如何限制应用程序仅在手机而非平板电脑上下载。我有点困惑。任何人都可以对此有真正的答案。
我还阅读了以下关于 Android 常见问题解答的帖子
What kinds of devices can be Android compatible?
The Android software can be ported to a lot of different kinds of devices, including some on which third-party apps won't run properly. The Android Compatibility Definition Document (CDD) spells out the specific device configurations that will be considered compatible.
For example, though the Android source code could be ported to run on a phone that doesn't have a camera, the CDD requires that in order to be compatible, all phones must have a camera. This allows developers to rely on a consistent set of capabilities when writing their apps.
The CDD will evolve over time to reflect market realities. For instance, the 1.6 CDD only allows cell phones, but the 2.1 CDD allows devices to omit telephony hardware, allowing for non-phone devices such as tablet-style music players to be compatible. As we make these changes, we will also augment Android Market to allow developers to retain control over where their apps are available. To continue the telephony example, an app that manages SMS text messages would not be useful on a media player, so Android Market allows the developer to restrict that app exclusively to phone devices.
谢谢
最佳答案
关于Android:平板电脑支持电话吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5647471/