本文介绍了如何查询手机通话服务启用或不在Android设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何检查电话服务启用或不不同的设备,我有福邦Funbook(P300)平板电脑(Android的4.0.3),其中有没有电话服务,我使用低于code,检查

I want to know that how to check that phone call service is enable or not in different devices, i have Micromax Funbook(p300) Tablet(Android 4.0.3), in which there is no calling service, and i am using below code to check that

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);   
if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE) {
    Log.v("TAG", "No calling service");
}else{
    Log.v("TAG", "calling service");
}

但是这不工作....
它总是给人消息呼叫服务

任何帮助,请...

推荐答案

如果呼叫服务不支持平板电脑,谷歌Play将不会允许在该平板电脑安装的应用程序。谷歌内部播放检查这是您的设备和应用程序的要求,如果他们不匹配的权限支持权限,应用程序显示为与您的设备不兼容。
编辑:
因此,当然,你并不需要检查,如果调用是由设备或支持不...

If calling service is not supported by tablet, google play won't allow the app to be installed on that tablet. Google Play internally checks for permissions which are supported by your device and the permissions the app is asking for, if they do not match, the app is shown as not compatible with your device.Hence of course, you do not need to check if calling is supported by that device or not...

这篇关于如何查询手机通话服务启用或不在Android设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 18:16