Make Call in Android Application using default call application -
I'm using the following code to call my Android application:
  Intent to intent = new intent (Intent.ACTION_CALL); intent.setData (Uri.parse ("Telephone: 98898988")); StartActivity;    If Skype is installed in the phone, then this intent opens the Choice, what I want, it should call directly from the default call application.  
 How do I get it?   
 
  use  intent.setPackage ("com.android.phone");    Like  
  intent = new intent (Intent.ACTION_CALL); intent.setPackage ("com.android.phone"); intent.setData (Uri.parse ("Telephone: 98898988")); StartActivity;   
  But the user is better to choose.  
 Read more   
 
  
Comments
Post a Comment