开发者

Publishing an app, problems with "Required device features"

开发者 https://www.devze.com 2023-03-29 05:36 出处:网络
I\'ve published my app on the Market, but it somehow auto开发者_开发百科-detected several features that it thinks are required. One of those features is \"android.hardware.telephony\", and because thi

I've published my app on the Market, but it somehow auto开发者_开发百科-detected several features that it thinks are required. One of those features is "android.hardware.telephony", and because this is now a required feature, my app can't be installed on wifi-only tablets.

I don't have any "uses-feature" declarations in the manifest file, but my app does have the capability to make calls. I guess that Google is requiring "android.hardware.telephony" because of this functionality. However, this functionality is just a value-added feature. It is by no means required for the core functionality of the app.

I don't want to completely remove the telephony functionality because there are way more users with phone devices vs. wifi-only devices. I also don't want to create and maintain another version of the app for wifi-only devices. Is there any way for me to mark telephony as an optional feature, so that both types of devices can use my app?


See http://developer.android.com/guide/appendix/market-filters.html and http://developer.android.com/guide/topics/manifest/uses-feature-element.html .
In your case add
<uses-feature android:name="android.hardware.telephony" android:required="false" />
to your manifest.

0

精彩评论

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

关注公众号