telephony Questions

10

Solved

I dropped my phone and looks like my proximity sensor no longer works reliably. It returns Near all the time. The problem is, the display turns off during call and I wont be able to use the number ...

25

Solved

I need to determine whether a phone number is valid before attempting to dial it. The phone call can go anywhere in the world. What regular expression will match valid international phone numbers?...
Mollusc asked 21/1, 2010 at 23:48

10

I want to get the Signal Strength of the Device at the point I hit the API call. I have searched on all the related threads and I am not successful yet. So I would like to get the signal strength ...
Ringer asked 6/11, 2013 at 6:55

7

Solved

How do I get the phone number when there is an incoming call in Android?
Nittygritty asked 31/10, 2012 at 9:6

5

Solved

I want to change the preferred network mode ie. gsm or wcdma or auto, programmatically, from code, on Android. Is this possible, and if so how ?
Gonfalonier asked 16/4, 2012 at 7:29

3

Solved

I'd like to listen if there's a phone call happening while my app is in the foreground. It was like this before but now listen() is deprecated: val tm = context.getSystemService(Context.TELEPHONY_S...
Cerebrovascular asked 14/10, 2021 at 12:49

1

Solved

I'm trying to integrate PJSIP into an android project. I build PJSIP and imported the classes into my project. But I keep running into this error only on some devices. java.lang.NoSuchMethodError: ...
Ayeaye asked 7/6, 2021 at 20:51

6

Solved

I managed to prepare an activity when the phone is ringing. Now I need to know how to cancel this activity, when I answer the phone or I reject the call.Do I call EXTRA_STATE_IDLE or EXTRA_STATE_OF...
Pulvinus asked 13/3, 2012 at 13:25

13

Solved

How can I make a phone call programmatically on iPhone? I tried the following code but nothing happened: NSString *phoneNumber = mymobileNO.titleLabel.text; [[UIApplication sharedApplication] open...
Freidafreight asked 8/2, 2011 at 4:55

3

Solved

I would like to store the cell signal strength, and I do it like this: private class GetRssi extends PhoneStateListener { @Override public void onSignalStrengthsChanged(SignalStrength signalStre...
Beguile asked 13/5, 2013 at 19:32

5

Up to Android 7.1 it was possible to end an incoming call by using the ITelephony.endCall() method and giving your app the permissions android.permission.CALL_PHONE and android.permission.READ_PHON...
Nannienanning asked 9/12, 2017 at 18:21

6

I want to reject incoming in android, I have seen so many code from these links. Android: Taking complete control of phone(kiosk mode), is it possible? How? How to Reject a call programatically i...
Gynaecocracy asked 21/2, 2013 at 20:58

9

Solved

I am writing an android app in which I need to answer an incoming call, do some work and then end the call. After all the Googling I could find two different ways to achieve this both of which do ...
Haldis asked 18/3, 2013 at 16:11

4

Solved

i am creating simple call filter application which restrict unwanted calls. i use following code to restrict call but i am unable to resole problem of this line in below code " com.android.internal...
Azar asked 2/4, 2012 at 5:59

1

I am using this method to end a call in android public boolean killCall(Context context) { try { // Get the boring old TelephonyManager TelephonyManager telephonyManager = (TelephonyManager)...
Expedite asked 8/5, 2018 at 6:47

0

I am interested in using mobile phones for conducting network field tests - i.e. collecting information about signal strength as well as other related values for a mobile network, in particular for...
Propagable asked 28/3, 2019 at 12:43

4

Solved

We want to store 10 digit mobile number i.e.9999999999. Should it be numeric or string datatype? We don't want to do any calculative or manipulation operation on this Which is better memory and pe...
Nourish asked 15/2, 2017 at 17:2

3

Solved

How can I retrieve the country code information for Android devices under CDMA networks? For all others, you can just use the TelephonyManager for that: String countryCode = null; TelephonyManager ...
Bram asked 28/11, 2011 at 6:37

8

I am developing an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application. I've tried using Intent.ACTION_CALL from an ex...
Poster asked 1/3, 2009 at 7:37

2

I've read elsewhere that “Developers cant customize the in-call screen because of security concerns” So, I am trying to understand the functionality of the in-call screen at the source level. Ca...
Barricade asked 26/1, 2014 at 20:25

0

I have registered a broadcast receiver for PHONE_STATE so whenever a call is disconnected I can execute code. I am trying to find the cause of the disconnection which I believe it can be found by c...
Hedvige asked 19/5, 2017 at 9:9

5

Solved

I am looking for a way to get the latitude and longitude coordinates of any area code + prefix land line phone in the United States. Does anyone know of a data provider or service that could be use...
Dhyana asked 3/6, 2009 at 19:36

3

Solved

I want to know the basic use of TelephoneNumberUtil class in Android. I searched on that but in the Android I'm not able to get a proper answer. Can anyone explain me the exact use of this class?
Sculpin asked 26/7, 2011 at 6:28

1

Solved

I have an app that requires temporary access to the device's SMS. In KitKat and above, this access is only granted to the default SMS app, so I'm using: Intent intent = new Intent(Telephony.Sms.In...
Unwatched asked 14/12, 2016 at 9:32

2

Solved

The internal Android class com.android.internal.telephony.Call contains an enum called State and defined as follows: public enum State { IDLE, ACTIVE, HOLDING, DIALING, ALERTING, INCOMING, WAITIN...
Complected asked 9/6, 2011 at 8:57

© 2022 - 2024 — McMap. All rights reserved.