开发者

uses-feature overruling uses-permission?

开发者 https://www.devze.com 2023-02-24 00:49 出处:网络
My app does read SMS and react on incoming calls, but I still want tablet users to be able to download it from Android Market because it does a whole lot more than that.

My app does read SMS and react on incoming calls, but I still want tablet users to be able to download it from Android Market because it does a whole lot more than that.

So, if my app requests permissions for reading the phone's state and SMS, but I do tell the Android Market that my app doesn't use telephony APIs, what would the Android Market do then?

<uses-permission
    android:name="android.permission.READ_PHONE_STATE" />
<uses-permission
    android:name="android.permission.RECEIVE_SMS" />

<uses-feature
    android:required="false"
    android:name="android.hardware.telephony开发者_开发知识库" />

Filtered for WIFI-only tablets or not filtered, that is the question.

Any experiences?

Have a great day Tom


Given your manifest elements above, the Market should allow the app to be visible for WiFi-only tablets as well as phones. The Ruboto IRB application ran into this shortly after the XOOM became available. Here is a blog post I wrote up after helping them fix matters.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号