title: Call inside app android programmatically
body: <p>I try to define an application where we can talk. I know that it is possible to open the phone call but I would like to make a call from the app herself.
  That I add additional buttons designated for application. Right now this is what I found:</p>
  
  <pre><code>Intent callIntent = new Intent(Intent.ACTION_CALL);
  callIntent.setData(Uri.parse("tel:"+phnum)); 
  startActivity(callIntent);
  </code></pre>
  
  <p>But it opens the conversation of the device and I need something I can change.
  I interested that by clicking DIAL The call will dial and remain within an application. Since there are other things I would like to take the user from using the application. 
  Would appreciate help.
  Thanks in advance</p>