Check if device has cellular network or not
<p>I have 7inch samsung Tab 4. It has cellular network only for internet but doesn't have phone feature. I have created an application to check if there is telephone feature All tabs/Phones work correctly with this condition except the tab that has only data service but not phone service. </p>

<p>How do I check this:</p>

<pre><code>PackageManager pm = this.getPackageManager();
if (pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY))
{
  //PHONE DEVICE
}
else
{
  //TAB Device
}
</code></pre>

<p>How to fix this issue when there not telephone feature. Let me know!</p>

<p>Thanks!</p>