title: how to Create an App Like UPI?
body: <p><strong>how UPI android app get sim operator name and send message using selected sim.</strong></p>
  
  <p>I am using Subscription Manager for getting carrier name. my code getting carrier name is</p>
  
  <pre><code>List&lt;SubscriptionInfo&gt; subscriptionInfos = SubscriptionManager.from(context).getActiveSubscriptionInfoList();
  
  for (int i = 0; i &lt; subscriptionInfos.size(); i++) 
  {
      carrierNames.add(subscriptionInfos.get(i).getCarrierName().toString());
      subscriptionId.add(subscriptionInfos.get(i).getSubscriptionId());
  }
  </code></pre>