34 questions
0
votes
0
answers
22
views
How to mute individual Telecom Calls from InCallService
I am looking to mute/unmute all telecom Calls from the InCallService implementation. InCallService just provides a single method to mute current call. Seems CallControl is the class that provides ...
0
votes
0
answers
39
views
TelecomManager.addNewIncomingCall fails when a call is already ringing
I'm developing a VoIP call app on Android with third party SIP stack.
This app works fine for the most part, but when there is an incoming (and unanswered) call, addNewIncomingCall fails and ...
0
votes
1
answer
184
views
How does Telegram Android app is able to show notification of incoming call without POST_NOTIFICATIONS permission when app in the foreground?
So if I disable notifications for Telegram app then it's not able to notify a user about incoming calls when app is in the background/killed.
But if I open the Telegram app then it's able to receive ...
0
votes
0
answers
51
views
How to detect incoming VoLTE Video call on android?
I wanted to detect incoming video calls as I am working on auto-pickup calls, so currently my app auto-picked up video calls, so I do want to pick up video calls automatically. I have used the below ...
0
votes
0
answers
565
views
Microphone is not worked when app in background and screen is locked (only after i call setActive())
I have a voip app where i use the telecom API powered by android to receive calls , when i answer the call i do the following
@Override
public void onAnswer() {
super.onAnswer();
startForeground(...
1
vote
1
answer
121
views
How can I remove a placed call with TelecomManager.placeCall()?
I am working on an application that can manage calls. And the call provider platform is Twilio. But there is an issue when I make an outgoing call using TelecomManager.placeCall(). It works for the ...
1
vote
0
answers
129
views
Android KeyguardManager requestDismissKeyguard is inconsistent
As the title says, requestDismissKeyguard doesn't always work. It is flaky and works around 75% of the time. I have the below code written to dismiss the keyguard. 75% of the time it works and ...
0
votes
1
answer
122
views
Telecom Connection onHold and onUnhold aren't getting called
onHold and onUnhold functions won't get triggered when I receive a GSM call and pick it up while I'm on an active call through my app. onDisconnect callback gets triggered when I answer the GSM call. ...
1
vote
3
answers
500
views
Alternate for TelecomManager.endCall()
I have created a test internal application to reject the native phone calls.
I am using below code to reject the calls.
TelecomManager tm = (TelecomManager) context.getSystemService(Context....
0
votes
1
answer
726
views
How can we show Custom UI when addNewIncomingCall using Connection service?
I am trying to implement the ConnectionService.
When I add new incoming call I get the system UI to receive or to reject a call.
var handle = account.accountHandle
val extras = Bundle()
...
0
votes
1
answer
1k
views
Neither user 10022 nor current process has android.permission.READ_PHONE_NUMBERS
Why this code snippet need READ_PHONE_NUMBERS permission?
val manager = getSystemService(Context.TELECOM_SERVICE) as TelecomManager
val connectionServiceId = getConnectionServiceId()
...
2
votes
1
answer
516
views
Android ConnectivityService - "onUnhold" not called
I'm trying to use self-managed ConnectivityService to manage calls in-app - https://developer.android.com/guide/topics/connectivity/telecom/selfManaged
It is poorly documented and there are hardly any ...
0
votes
1
answer
578
views
How do you change the default dialer package in android studio?
I'm currently trying to change the default dialer package of the machine to my application. When running the code that is supposed to change it, however, it results in the default dialer package ...
4
votes
1
answer
974
views
TelecomManager PlaceCall is calling Native Dialer before reaching ConnectionService
I have an application that makes calls using wifi and I wanted to use Self Manage Calls to better manage interoperability between calls from my app and others, in addition to better managing audio ...
0
votes
1
answer
205
views
How do you keep the default phone interface from popping up when using Android TelecomManager?
I currently have an application that uses android's TelecomManager to implement calls on a custom interface on a tablet. When accepting a call via addNewIncomingCall, a pop-up of the default android ...