title: How to get Mobile number from SIM card in Android Programmatically using kotlin language?
body: <p>I tried using below piece of code but it is not giving me the number. Your information would be great help.</p>
  <h1>Code below:</h1>
  <pre><code>val subscription =SubscriptionManager.from(context).activeSubscriptionInfoList
  for (subscriptionInfo in subscription)
  {
     val number = subscriptionInfo.number
     Log.e(&quot;Test&quot;, &quot; Number is  &quot; + number)
  }
  </code></pre>