Questions tagged [telecom-manager]
31 questions
1
vote
0 answers
Get Active SIM(s) only from dual sim phones
I've seen many similar questions on StackOverFlow almost addressing the same issue i.e. Ability to get Active Sim information "only" from a dual sim phone.
By Active SIM it is meant that any SIM that has been disabled from Device Dual Sim settings…

ask-dev
- 606
- 2
- 13
- 30
0
votes
0 answers
how to enable & disable LoudSpekaker during a running call via Android java programing
Call Acivity.class
loudSpk.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (isSpkOn) {
CallManager.speakerCall(false);
…

Kay Bee
- 3
- 2
0
votes
0 answers
Unable to accept/reject calls programatically in Android
I have a use-case in which I have established an app to app bluetooth connection between an Android mobile & an Android tablet. The apps running on both the devices are different.
Now, when I receive a call on my phone, I pass the details to the…

srivastrahul
- 31
- 4
0
votes
0 answers
how use Call class of Telecom Manager?
I'm doing an app to do Calls and check the call states in real time with the library Telecom Manager using the class Call to get this states, but I try with some methods and i don't get that
I need a example code to use with my code
0
votes
0 answers
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.TELECOM_SERVICE);
tm.endCall();
But the thing is; endCall…

jfalexvijay
- 3,681
- 7
- 42
- 68
0
votes
1 answer
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()
…

Mohammad Taqi
- 161
- 2
- 8
0
votes
1 answer
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()
val componentName =
…

Mohammad Taqi
- 161
- 2
- 8
0
votes
0 answers
Android TelecomFramework createConnectionFailed TC@47: (TSI.aNIC)->CS.crCoF->H.CS.crCoF@E-AZs
I'm debugging a voip call application for Android. It users Android Telecom framework & self-managed phone accounts. The incoming calls fail sometimes with a cryptic message:
TelecomFramework createConnectionFailed TC@47:…

Gene S
- 495
- 5
- 14
0
votes
1 answer
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 retaining a value of NULL. This is loosely following…

Jacob Z
- 17
- 2
0
votes
1 answer
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 phone call interface loads in front of the app…

Jacob Z
- 17
- 2
0
votes
1 answer
Android Connection Service report outgoing call without showing native call UI?
I have developed a voice calling app with android ConnectionServices and telecom framework.
I can show native call screen when receive incoming call notification from firebase and everything is fine.
When I start an outgoing call I just want to…

Bilal Şimşek
- 5,453
- 2
- 19
- 33
0
votes
1 answer
How to get android default dial pad call disconnect button click event
I try to get default dial pad call disconnect button click for get call state Ex: Active, disconnecting , disconnected and ect..
I need call state without using InCallService class .Because IncallService class only response for Custom dial app. May…

Kabilan
- 191
- 10
0
votes
0 answers
How can we modify network type within my app in android?
I am really new to android app development . I am developing an app to a problem for and that is to SET Network type to LTE only .
I went to secret menu by using * # * # 4636 # *# * and change the settings to LTE only .
I just see logcat when I did…

Brijesh
- 320
- 1
- 10
0
votes
1 answer
How to make a call via dialer programmatically in android Pie and above
I use this code to show the number and when pressing it to make a dial.It is working for android versions before Android Pie.
final Button but= findViewById(R.id.buttond);
but.setOnClickListener(new View.OnClickListener() {
…

Apollon
- 311
- 7
- 29
0
votes
1 answer
Android. Is there an intent to go to the default Apps page?
I have this code to set my app as the default dialer:
val telecomManager = getSystemService(TELECOM_SERVICE) as TelecomManager
val isAlreadyDefaultDialer = packageName == telecomManager.defaultDialerPackage
if…

rosu alin
- 5,674
- 11
- 69
- 150