Questions tagged [android-connectionservice]
31 questions
5
votes
0 answers
ConnectionService not started from TelecomManager#placeCall
I need to intercept the events of a outgoing call made by the device framework.
Following the android guide, i'm stopped at point 3 The telecom subsystem binds to your app's ConnectionService implementation., that is i have come to this point:
Call…

Thorny84
- 325
- 3
- 22
5
votes
0 answers
android.permission.BIND_TELECOM_CONNECTION_SERVICE permission denied
I want to implement "android.telephony" library for Voip dialer app. So according to this https://developer.android.com/reference/android/telecom/ConnectionService I am trying to register PhoneAccount. I am doing like below,
private void…

Kousalya
- 700
- 10
- 29
5
votes
0 answers
Android.ConnectionService Incoming call UI not showing onShowIncomingCallUi
I am building basic calling app using TelecomManager, ConnectionService and Connection. But, When an there is an incoming call, my incomingActivity UI is not showing up. Below is the sample code so far.
In my MainActivity.java
Intent intent = new…

Manik Shakya
- 135
- 1
- 2
- 6
4
votes
0 answers
How to answer incoming calls with Self-Managed ConnectionService
I've been building a standalone calling app in Android Studio with Kotlin following this tutorial: https://developer.android.com/guide/topics/connectivity/telecom/selfManaged
I've implemented everything that's necessary and read the whole docs a few…

JakZ
- 61
- 1
- 4
4
votes
1 answer
How to receive the Bundle 'extras' passed in when calling TelecomManager.addNewIncomingCall in ConnectionService.onCreateIncomingConnection?
I'm trying to create a call app using Android's ConnectionService. I can successfully receive calls, but I'm trying to pass application specific data through the "extras" parameter in TelecomManager.addNewIncomingCall. When I'm actually creating the…

Kody_06
- 163
- 2
- 9
3
votes
1 answer
Android Calling App not resetting Audio Stream
I have a single activity application set up to use a Self-managed Connection Service since we are using audio and video and wanted to be able to leverage the system. HOWEVER, something about the way that we are closing the connection or perhaps…

kjanderson2
- 1,209
- 12
- 23
3
votes
0 answers
How to create a PhoneAccount with SCHEME_SIP uri enabled that doesn't get deleted on reboot?
I've built a WebRTC softphone client on android (using React Native) but the service uses proper uris for dialing
(not just telephone numbers) so in order to get Connection Service integration we use a PhoneAccount and I set the allowable uri type…

Dan Jenkins
- 31
- 1
3
votes
1 answer
How to fix java.lang.SecurityException: This PhoneAccountHandle is not enabled for this user?
I had the below given code working for me to make a self managed connecion service. But this has stopped working with this error:
java.lang.SecurityException: This PhoneAccountHandle is not enabled for this user!
Code:
class CallManager(context:…

Lakshay Dulani
- 1,710
- 2
- 18
- 45
2
votes
1 answer
Android notifications not playing at correct volume after VoIP call
I've implemented VoIP calling in a native Android application, and we've discovered a bug that I'm stuck on. I'm using Twilio for our VoIP calls if that helps at all.
If I place an outgoing VoIP call from our app, after the call ends if I put the…

Kyle Borth
- 21
- 2
2
votes
2 answers
How to implement a self-managed ConnectionService using Kotlin
I am an Android beginner, trying to setup Android code for my Cordova app.
My code works fine. No error whatsoever. All Logs showing but the Incoming call just doesn't show.
I have connected the ConnectionService to FirebaseMessaging service to fire…

Lakshay Dulani
- 1,710
- 2
- 18
- 45
2
votes
0 answers
Android Telecom self-managed call app, AND custom URI scheme, AND .placeCall for outgoing call >>> how to trigger ConnectionService?
The self-managed PhoneAccount is being registered like this:
PhoneAccount phoneAccount = PhoneAccount.builder(phoneAccountHandle, name)
.addSupportedUriScheme(CUSTOM_URI_SCHEME)
.setCapabilities(
…

Amos
- 2,222
- 1
- 26
- 42
2
votes
0 answers
Error :ConnectionService not available for this version of Android
i am trying to use react-native callkeep to show incoming call screen.but instead i am getting the error above.does anyone know about this?
const options = {
ios: {
appName: 'My app name',
},
android: {
alertTitle: 'Permissions…

shikha Gupta
- 23
- 4
1
vote
0 answers
Is there any example app that uses system managed ConnectionService
According to ConnectionService API, we can make calling apps with system managed ConnectionService. Does it mean the calling app will use system calling UI? Is there any example app like this in the store?

Dan
- 33
- 4
1
vote
1 answer
Flutter: How can i add native caller screen and want to play prerecorded audio when someone receive a call
I want to implement a native caller screen and want to connect it with FCM. But, On the caller screen, I want to play audio that is attached to my app. Is that possible?
I was trying flutter callKeep. but it didn't work properly on android 11 and…

sohag
- 31
- 6
1
vote
0 answers
Ask the user to unlock the screen
I am using react-native-webrtc/react-native-callkeep.
When the user answer the incoming call and the phone is locked, is it possible to ask the user to unlock his phone in order to open my app ?
Like WhatsApp, when there is a VideoCall, the phone…

vijayakm
- 92
- 4