title: How to send APDU commands to UICC using telephony manager?
body: <p>i am trying to communicate with my java card applet using telephony manager class. Can somebody help me with that?
  Basically i want to establish a connection and then send APDU commands to the UICC and vice versa, for which i need to implement the following steps(please correct me if i am wrong) :</p>
  
  <ol>
  <li>Use google SDK IccOpenLogicalChannelResponse with applet application id</li>
  <li>From IccOpenLogicalChannelResponse get open status and logical channel</li>
  <li>Send apdu by iccTransmitApduLogicalChannel and get String response</li>
  <li>Android App destroy must  close channel by iccCloseLogicalChannel</li>
  </ol>
  
  <p>P.S - I implemented "Seek for android" - org.simalliance.openmobileapi successfully and my objective is achieved but moving forward to provide support for android devices with an api level more than 21 , i need to implement <a href="https://developer.android.com/reference/android/telephony/TelephonyManager.html" rel="nofollow noreferrer">Telephony Manager</a> class in android.</p>
  
  <p>Can someone help me with the code level usage of Telephony Manager functions :
  iccOpenLogicalChannel, 
  iccCloseLogicalChannel, 
  iccTransmitApduLogicalChannel, 
  iccTransmitApduBasicChannel.</p>
  
  <p>Thanks in advance!</p>