J jGubern Member Licensed User Longtime User May 24, 2017 #1 I would like to make an standard autommatic call like this way Private p As PhoneCalls StartActivity(p.Call(TextNum.Text)) but there are phones that try to call by means of Skype, and this behaviour is not desired in my app. any suggestion? Thanks, (Excuse my english, please)
I would like to make an standard autommatic call like this way Private p As PhoneCalls StartActivity(p.Call(TextNum.Text)) but there are phones that try to call by means of Skype, and this behaviour is not desired in my app. any suggestion? Thanks, (Excuse my english, please)
lemonisdead Well-Known Member Licensed User Longtime User May 24, 2017 #2 Hello, In such cases, I wonder if creating the Intent and call the package com.android.phone + adding the phone number couldn't be the solution to select the right app to make the call. Something like this (Java Code) B4X: Intent intent =newIntent(Intent.ACTION_CALL); intent.setPackage("com.android.phone"); intent.setData(Uri.parse("tel:"+ number)); startActitivy(intent); Here: some code to adapt to your need https://www.b4x.com/android/forum/threads/intent-make-a-skype-video-call.73397/ Upvote 0
Hello, In such cases, I wonder if creating the Intent and call the package com.android.phone + adding the phone number couldn't be the solution to select the right app to make the call. Something like this (Java Code) B4X: Intent intent =newIntent(Intent.ACTION_CALL); intent.setPackage("com.android.phone"); intent.setData(Uri.parse("tel:"+ number)); startActitivy(intent); Here: some code to adapt to your need https://www.b4x.com/android/forum/threads/intent-make-a-skype-video-call.73397/