All Questions
Tagged with android-phone-call android
84 questions
0
votes
0
answers
22
views
How does the Google Phone app play "call recording" notifications through the call uplink?
I’m trying to understand how the Phone by Google app plays a notification message (such as "This call is being recorded") during a call. When the call recording feature is enabled, the app ...
0
votes
0
answers
42
views
Call Recording on a Headset on Android
We have a phone recording app that uses accessibility service: https://github.com/AndroidDeveloperLB/PhoneCallRecorder
Testing on Android 12 on a Pixel 6, call recording works well with 'RECORDING ...
0
votes
1
answer
200
views
How to get the current active ongoing running call duration per second in Android?
I am creating one calling app for which I want to show the active ongoing call duration of running call. For ex. If ongoing call is active and let's assume it started at 2:05 pm then I want to show ...
0
votes
1
answer
169
views
How To Turnon Speaker On a Phone Call In Android 13
this piece of code not work on android 13 maybe someone know how to make it work on android 13?
TelephonyManager.CALL_STATE_OFFHOOK -> {
// Call answered (in progress) Handle ...
0
votes
2
answers
884
views
playing audio with media player through phone speaker during call
how to play audio through the phone speaker using MediaPlayer while the user is on a phone call through BT headphones.
I tried this:
...
AudioDeviceInfo audioDeviceInfo = getPhoneSpeaker(context);
if (...
1
vote
1
answer
619
views
Detect target phone number on incoming call is it for SIM 1 or for SIM 2 for Android 29+?
I have tried all of the stack overflow solutions but it didn't work, all solutions are outdated
I tried both below codes but it always return the -1
int slot = intent.getExtras().getInt("slot&...
4
votes
0
answers
2k
views
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 ...
1
vote
1
answer
1k
views
Why ACTION_CALL not working on Android 11
Why does this sentence ( to place a call enter a valid number ) appear when I run this code?
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse(&...
0
votes
0
answers
79
views
Android - get phone number from incoming call - Playstore App rejected
In my application I implemented a feature to get a phone number from incoming call and it is working fine previously. But after android 9 to proceed further we need to add permission read call log in ...
0
votes
2
answers
924
views
react-native-immediate-phone-call not working
I am writing app that uses react-native-immediate-phone-call and by pressing Pressable component I need to call function from that module.
import RNImmediatePhoneCall from 'react-native-immediate-...
0
votes
0
answers
251
views
Use InCallService methods without replacing the default phone app
I'm developing an Android app that enables the loudspeaker during a call.
Starting from Android 10 the AudioManager#setSpeakerphoneOn(boolean) is not working anymore and developers are encouraged to ...
-1
votes
1
answer
116
views
How to Implement Contact Call Button in setOnItemLongClickListener?
I want to implement a Call A Number Button in My App, How Can I Do that?
mListView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {
@Override
public boolean ...
0
votes
1
answer
149
views
Nothing happening on calling dismiss method of AlertDialog
basically i have 2 classes, "ShowAlert" and "CallReceiver", the alerts creates without any problems, but when i try to call the method "alertDisplay.dismissAlert();" it ...
1
vote
1
answer
765
views
How to get a callback from Android system to the app?
I'm making an app in which you can chat and call with other contacts. But in case of calling, I've designed the app in such a way that after typing the number and clicking on the call icon, it takes ...
2
votes
0
answers
281
views
alter the audio input and output of a phone call in android
I am trying to build a calling app that will pass the phone call audio output, input to and from the computer respectively.
For this, I am creating a server on a computer that will use WebSockets to ...