Search code examples
androidsmstablettelephony

Is android.hardware.telephony required for app that sends sms and uses internet, it doesn't make phone calls?


Ok, i have a simple question. I have app on market that calls numbers and sends sms, and can browse internet. That app is supported to 469 devices (on market). Although I can install my app on tablets, i want to give posibility to tablet users, so they can browse it on market. So i am using multiple apk solution on the market. Now both of my app are using android.hardware.telephony as feature, so it cant be supported by tablets (on market). I wonder in second app, if I remove this feature, will i still be able to send sms, i don't need phone calls ??


Solution

  • If you use a certain feature on the device it does not need to be required. In your manifest you can specify android:required=["true" | "false"] in your uses-feature tag. Just make sure you handle the scenario when the user doesn't have that feature.