Questions tagged [incoming-call]

Questions on scenarios related to incoming phone calls

Questions on scenarios related to incoming phone calls, like incoming call location, incoming call details, incoming call recording, etc.

140 questions
1
vote
2 answers

Not able to detect an incoming call in Oreo

I am working on an Application where i need to detect incoming call in activity's onResume(), i am using this code to detect any incoming call. TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); …
Kunal
  • 412
  • 5
  • 21
1
vote
0 answers

Android O : Notification channel for Incoming call

Introduction of notification channel allow many apps to remove their notification settings in app and redirect to device settings. Which is quite easy for developers as the framework itself will handle notification sounds. Incoming call ringtones…
1
vote
2 answers

perfectly blocking incoming calls in android

I want to block all incoming calls but get notified. For this I'm implementing this code: TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); try { Class c = Class.forName(tm.getClass().getName()); …
Abubakar Azeem
  • 314
  • 1
  • 4
  • 14
1
vote
2 answers

Broadcast receiver is not triggered for incoming calls

I have this code and my app is not detecting the incoming calls. My code is very similar with this answer what am i doing wrong? How does a Android "OS" detect a incoming call
Tiago_nes
  • 843
  • 7
  • 30
1
vote
2 answers

Get incoming number from a Linphone call

I am trying to detect the number that is calling me during a Linphone call. I have tried case LinphoneCallConnected: NSLog("callStateChanged: LinphoneCallConnected") NSLog("CALL ID:…
user1079052
  • 3,803
  • 4
  • 30
  • 55
1
vote
1 answer

Display VOIP incoming call on top of lockscreen in Marshmallow

I am working on VOIP call application. When an incoming call appears upto android version 5.0 the incoming call appears on top to Lockscreen when but from version 6.0 onwards it is showing as notification. Call screen not appearing. After doing…
user2384424
  • 187
  • 1
  • 3
  • 13
1
vote
0 answers

Phone Call Recording incoming sounds too low

mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD_MR1) { …
1
vote
2 answers

ANDROID BroadcastReceiver don't fire

I wrote applications for android 4.1(16 API) that should respond to the incoming call, but it don't happen. I see many tutorials and it too simple to make any mistake but... I use Android studio 1.4. Telephone with apk is Nexus 6 with android 6.0.1.…
Mateusz
  • 83
  • 9
1
vote
0 answers

I want to detect the incoming number, but get the empty incoming number

PhoneStateListener puts empty string into incomingNumber in some models - for instance LG-K500ds. I have given the permission in manifest file. My code: public class MainActivity extends Activity { ... @Override protected void onCreate(Bundle…
Einwtien
  • 11
  • 1
1
vote
0 answers

How to Customize the default call screen in Android?

Is there any possibility to customize the default incoming/outgoing call screens in android mobile phones? Customization here means adding a button/label/text/image etc..
S.Sathya Priya
  • 470
  • 1
  • 5
  • 19
1
vote
1 answer

Programmatically answer incoming call on Lollipop/Marshmallow without root or system application

My application needs to answer incoming calls programmatically (it's an enterprise telephony app that allows dialing via office). Up until Android 4.4, I was using the Headset Hook method Unfortunately, in 5.0 and 6.0 that doesn't seem to work…
user3566056
  • 224
  • 1
  • 12
1
vote
1 answer

answer incoming call using asterisk manager api

I am writing Java program to handle call in asterisk using Manager API. I am able to know the incoming call through program. Now, I need to answer the incoming call. I dont want to do it from AGI or through dialplan but from Manager api action (not…
Prakash
  • 11
  • 2
1
vote
1 answer

c# Intercept incoming call for Windows 10 Mobile 10586

Android and IOS, both have API to intercept incoming calls. Is this possible in this compilation of Windows 10 Mobile?? Thanks in advance.
1
vote
0 answers

Stop app processes on phone call?

I have an app which plays audio. The thing is, when I get a call on my phone while I am interacting with the app, the audio continues to play. This becomes a problem because the audio makes it hard to understand what the person is saying. Is there…
Ruchir Baronia
  • 7,406
  • 5
  • 48
  • 83
1
vote
1 answer

Broadcast Receiver Incoming Call (Getting two times incoming number)

Why am I getting the incoming number twice? With the outgoing detail it is properly working, but it gets only once but I don't know what happens to incoming detail. Can anyone help me? public void onReceive(Context context, Intent intent) { …
Pratik Sule
  • 163
  • 4
  • 18