Read phone number from Tablet : Android
<p>In my application I read device phone number as </p>

<pre><code>TelephonyManager telephonyManager = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE);
// Read phone number of device owner.
String phoneNumber = telephonyManager.getLine1Number();
</code></pre>

<p>where, this will work till device having phone application. </p>

<p>But when using device is a tablet(some tablet doesn't have phone application), then what will be the value of phoneNumber? Is it will null or blank String? Or it will be an error? </p>

<p><em>I couldn't check it on emulator because SDK having Samsung Galaxy tab and that having Phone app.</em></p>
