title: Android class ConnectionService
body: <p>Can anyone just give an example how to implement this abstract class- ConnectionService.my idea is to use TelecomManager to make an outgoing call.</p>
  
  <p><a href="https://developer.android.com/reference/android/telecom/ConnectionService.html#SERVICE_INTERFACE" rel="noreferrer">https://developer.android.com/reference/android/telecom/ConnectionService.html#SERVICE_INTERFACE</a></p>
  
  <pre><code>TelecomManager telecomManager = (TelecomManager)this.getSystemService(Context.TELECOM_SERVICE);
          PhoneAccountHandle accountHandle=telecomManager.getSimCallManager();
          PhoneAccount account=telecomManager.getPhoneAccount(accountHandle);
          telecomManager.registerPhoneAccount(account);
  
          CharSequence label=account.getLabel();
          ConnectionRequest request = null;
  
          Connection connection= service.onCreateOutgoingConnection(accountHandle,request);
  </code></pre>
  
  <p>now i need to know what will be given in the request feild and Connection service how to implement before it..</p>