android.permission.CALL_PHONE: making single apk for phones and tablets:

Posted by Eugene Chumak on Stack Overflow See other posts from Stack Overflow or by Eugene Chumak
Published on 2012-06-26T15:12:31Z Indexed on 2012/06/26 15:15 UTC
Read the original article Hit count: 174

Filed under:

I want my app to be available for both phones and tablets. The only difference between phone and tablet versions is: in "phone" version my app has buttons, which allow to make a phone call to a certain number. What is my problem: to be able to make phone call I need to add a permission to manifest file -

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

This permission makes application incompatible with tablets. If I remove the permission, app cant make calls being launched on phone. How to make an app, that supports both phones and tablets and allow to make calls from phones?

© Stack Overflow or respective owner

Related posts about android