Is any way to make a phone call inside the app? I don't want to use the native app to make calls, just make the call inside the app (this means don't use the classic intent with the uri for start the activity of calls), I know that I need to have configurations for make the call, but I don't have a reference or documentation about this topic.
If you mean phone calls the answer is no, you can't bypass the native phone app.
Related
I am trying to make a phone call using flutter app; I have found url_launcher package. However, it only directs the user to the phone itself and click the green call button to make a regular phone call. Is there a way to make the app call directly and and not using the phone of the user itself?
The method you used for that make android make call.
if you need make call by your own you need implement ui of calling screen and work with android.telecom .
use https://flutter.dev/docs/development/platform-integration/platform-channels to do it yourself by implementing platform-specific code such as CallKit/ConnectionService.
In android programming, is it possible to make a phone call within a service without showing the 'phone call screen'? Any example would be very helpful. Thanks in advance.
In android programming, is it possible to make a phone call within a service without showing the 'phone call screen'?
That depends on what you consider the "phone call screen" to be.
If you mean the dialer, then, yes, you can use an ACTION_CALL Intent to bypass that, assuming that you hold the CALL_PHONE permission.
If you mean the in-call screen then, no, AFAIK there is no way to avoid that screen. That screen is rather important for the user.
Is there a way to use default incoming call screen with its functionality (answer and reject) from inside my application.
I want to make fake call from inside my application and i don't want to create custom incoming screen but use default incoming call screen on device because different devices have different incoming screens.
No, this can't be done using the standard SDK. First, the call screen activity can only be launched by the system. Second, vendor-specific skins of Android often replace the default phone app with a custom one, so it's unlikely you'd be able to do this on all devices with just a single piece of code even if it were possible.
Your best bet would be to try to recreate the incoming call screen for the most popular devices and detect which device the user is running, which I know isn't what you wanted to hear. Sorry.
I'd like to make a phone call via an AIR application on android. I know you can do this:
navigateToURL(new URLRequest(tel:555555555));
But I want control of the phone call.
The aim is that the app missed calls a selected number. So it calls, waits for it to ring for 1 second and then cuts the call. But with the method above, the app has no control of the phone call.
Thanks
As of now, there is no way that you can 'control' the call flow using AIR apps. The best you can do is invoke the native call application using 'tel' protocol, which you have mentioned.
Currently creating a VOIP application for Android and I was wondering is there any possible way to supress the In Call Dialog when sending a call over GSM and use our own 3rd party In Call Dialog or screen instead?
At the minute when we switch from our VOIP call and send it over GSM via the ACTION_CALL intent it does everything we want except it brings up the native In Call screen whereas we want our own In Call screen to display here.
So I was wondering what kind of options we would have on this?
What would you reccomend we look into doing?
Thanks in advance
Unless you are running your app on a rooted device, you cannot supress the native in call screen, nor the native calling screen.