Questions tagged [telecom-manager]

31 questions
6
votes
1 answer

Deprecated telecomManager.endCall() in android API 29 android

Before I used below code to end the call val telecomManager = context.getSystemService(Context.TELECOM_SERVICE) as TelecomManager if (PermissionsUtil(context).checkPermissions()) { if (Build.VERSION.SDK_INT >=…
YLS
  • 1,475
  • 2
  • 15
  • 35
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
1 answer

Differences between InCallService and ConnectionService

I want to make a custom dialer app which will replace my default dialer app.I did some searching and I found that a dialer app can be built using either ConnectionService or InCallService. Here they have used connectionService to make a calling…
rafi
  • 306
  • 1
  • 8
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…
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
4
votes
0 answers

How to programmatically merge calls in Android?

In Call Service Am using InCallService to listen for incoming call and in onCallStateChanged callback am updating call state, I have successfully achieved till holding 'call 1' and connecting 'call 2', so 'call 1' is on HOLD and 'call 2' is on…
Manikandan
  • 95
  • 1
  • 7
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…
3
votes
1 answer

Custom dialler, how can I send "1" or "2" via the call. For when you call a customer service and they need input

So I have this code, that takes my current call and plays the DTMF tone: if (CallManager.currentCall != null) { when (pressed) { 10 -> CallManager.currentCall?.playDtmfTone("*".toCharArray()[0]) 11 ->…
rosu alin
  • 5,674
  • 11
  • 69
  • 150
2
votes
1 answer

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 calls. For that, I'm following this…
Luis Pereira
  • 1,481
  • 3
  • 19
  • 46
2
votes
1 answer

Why is "getUserSelectedOutgoingPhoneAccount()" not callable from my telecom manager instance?

So I am trying to set up a system for multiple phones being connected to a device that handles phonecalls. In order to do so, I've been investigating the getUserSelectedOutgoingPhoneAccount() method, which should help me differentiate between the…
mbob98
  • 79
  • 7
2
votes
0 answers

make a custom call using TelecomManager.placeCall

I'm trying to make a custom implementation of a call using TelecomManager between two users who had installed my app on their devices Following this guide I implemented connection service, subclass of Connection, added permissions, registered a…
Mikhail
  • 133
  • 2
  • 9
1
vote
1 answer

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 examples on the web, however, I've managed to…
miecio
  • 315
  • 1
  • 4
  • 19
1
vote
1 answer

System managed connection - place outbound call without treating it as a sim call

I'm working on implementing the calling functionality for a voip app and struggling with making an outbound call with a system managed connection service ** The part I'm struggling with is as follows: val extras = Bundle() …
HexedAgain
  • 1,011
  • 10
  • 21
1
vote
0 answers

TelecomManager: An exception on AddNewIncomingCall()

I am trying to use Telecom features in my Xamarin.Forms app. When AddNewIncomingCall() is called, an exception is thrown: Java.Lang.SecurityException: Package com.android.phone does not belong to 10134 Here is the code: …
David Shochet
  • 5,035
  • 11
  • 57
  • 105
1
vote
1 answer

Kotlin to Java migration

I am unable to translate(from Kotlin to Java) or understand this statement service.connectionListener = { addConnection(it) } which is found in the inner class of the following file: class MainActivity : AppCompatActivity() { private val…
Primata Lógico
  • 725
  • 4
  • 12
1
2 3