Skip to main content

All Questions

Filter by
Sorted by
Tagged with
7 votes
2 answers
8k views

Detecting incoming and outgoing calls in android API29+

There are many questions about detecting incoming and outgoing calls in android, but all of them are old and also android deprecates the useful functions, and google play rejects my application ...
FarshidABZ's user avatar
  • 4,115
-1 votes
1 answer
271 views

How to programmatically obtain the mobile number from the current device? [duplicate]

I want to obtain mobile number from device for registration page. I used TelephonyManager but its not working in all devices and I also used GoogleApiClient with HintRequest in this service open ...
NITIN CHAUDHARY's user avatar
0 votes
2 answers
406 views

Outgoing calls not recording

I am trying add one thing in my app. What i am trying is whenever user get phone call or user make phone call, at same time recording should be start and recording must store in sd card after cutting ...
chris's user avatar
  • 729
5 votes
0 answers
1k views

Number phone not display onCallStateChanged Android

I have created an app, and my app have a feature relate to get number phone when have incomming phone, but i can not catch number phone, it is empty My Service public int onStartCommand(Intent ...
duyen duyen's user avatar
2 votes
1 answer
2k views

How to find target sim for an incoming call in dual sim android phone?

I am creating an android application in which I need to detect the target sim for an incoming call in dual sim phone. The Android API provides the access of only one SIM. I did googling about this but ...
Manish Agrawal's user avatar
1 vote
1 answer
315 views

Restart android app on incoming call

I am making an app in which I want to start a service as soon as there is an incoming call. What are the various ways to do this in android? I know broadcast receiver is one way, but I couldn't find ...
Shadab Khan's user avatar
1 vote
1 answer
407 views

Trying to get the signal strength on Android printed out somehow

I have been reading many different posts on Stack Over Flow on getting the signal strength printed and unfortunately, the ideas were a bit too deep for me. Here is what I tried to do to print ...
What's user avatar
  • 73
1 vote
1 answer
5k views

get last Call on CallLog using a Service

I'm doing a program to send the CallLog to a Server, I created a Service that makes a poll of the telephone status with the following method. This method is called onCreate. private void ...
Jose E.'s user avatar
  • 13
28 votes
3 answers
34k views

How to monitor SIM state change

I'd like to be able to do some stuff when the SIM state change, i.e. play a sound when SIM PIN is required, but I think there are no Broadcast events that can be intercepted by a broadcast receiver ...
Gianni Costanzi's user avatar