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.
Related
Using InCallService I can get all the call events but I need to get all the call events without using any external app ?
Is there any alternative way to get the call events from default dialer app.
Thanks
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.
Is there a way to make a call from my application, but keep my activity in focus? ACTION_CALL shows the call screen, but I want to show my screen instead, with my own control to end the call. Is this possible? e.g. is there a service that does the actual phone call?
I basically want to allow the user to call another user, while still interacting with my app.
You can not change or customize the call screen unless you are building your own ROM
That is not possible from an SDK application...
You can try to design your application so that it works with a backgroud service so that you achieve your goals
As it seems that you cannot end a call directly from your application, I want to know if there's a way to go back to the android call screen from my application. So the user just have to press a button on my application and be redirected to the android call screen to hang up the call ?
I think you can... it's just not easy.
If you have a ITelephony.aidl you can interact with it.
Check this:
Reflection to access advanced telephony features
Some other examples in this project:
http://code.google.com/p/teddsdroidtools/
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.