Questions tagged [cellinfo]
42 questions
6
votes
0 answers
Android TelephonyManager requestCellInfoUpdate returning stale data on API 29
I've been encountering a problem for some time using Android's TelephonyManager. We use the TelephonyManager for phone signal live surveying purposes but in an attempt to move up to targeting API 29 it has become a problem. On API 28 and under, we…

Henry Boler
- 61
- 2
6
votes
1 answer
Collecting 5G cell data (New Radio)
After doing some digging I’ve found google source code containing 5G information related to as NR (new radio). Interestingly enough, these changes are not available on dev or pie-dev but on the master branch!
telephony manager incl.…

Android
- 814
- 1
- 9
- 21
5
votes
0 answers
Android 11 5G fetching Cell Parameters
I am trying Android 11 on network type 5G on new Android studio preview release. My aim is to fetch Cell Info details. However , the method getAllCellInfo() returns an empty/null list on emulator. All emulators priori to Android 11 do return a valid…

Richa
- 66
- 3
5
votes
1 answer
Detect 5G NR (SA/NSA) in my Android Application
I am trying to detect 5G network. I use the telephony manager to get NETWORK_TYPE. Even if I am in 5G network coverage and my phone shows 5G, I do not get NETWORK_TYPE_NR. The NETWORK_TYPE is always 13 i.e. LTE.
The Phones Engineering service mode…

Akshay Chougule
- 51
- 1
- 5
5
votes
0 answers
What exactly is CellInfo and how to use getAllCellInfo to get info just about one connectivity type?
GOAL: get info (signal strength) of a particular type of connectivity (the one I'm actually using).
PROBLEM: I'm not sure to understand exactly what does reperesent CellInfo and how to extract info from getAllCellInfo
QUESTIONS:
1) From android…

Maicake
- 1,046
- 10
- 34
5
votes
4 answers
getAllCellInfo() returns an empty list in Huawei Honor 7
I am having an android application that fetches information of cell towers. I use this getAllCellInfo() to fetch info of a primary cell and neighbour cells. I included the ACCESS_COARSE_LOCATION permission to manifest.xml and make a request for the…

phuwin
- 3,130
- 4
- 26
- 49
5
votes
3 answers
onCellInfoChanged() callback is always null
i am trying to get a list of all available cells the device can find. But i am stuck, as my CellInfo is always null and i don't figure why. Can someone give me a hint? There is pretty few info on onCellInfoChanged() at google.
MainActivity:
…

bofredo
- 2,348
- 6
- 32
- 51
4
votes
0 answers
Android: CellInfo gives me the same value for CID, MNC, MCC, LAC and signal strength
I'm trying to get the information of the cell tower connected to the phone in the Android studio.
This is my code:
telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
List cellInfos =…

Osama El-Ghonimy
- 335
- 2
- 12
4
votes
1 answer
Is PSC part of global Cell ID?
While on WCDMA networks getNeighboringCells() method returns a collection of PSC values (other are invalid). I guess this means that I should use rest of identifier values from current cell and PSC (Primary Scrambling Code) from neighboring cell to…

sanurss
- 43
- 1
- 5
3
votes
2 answers
getAllCellInfo in dual SIM
Does anyone know if the cell indexes on the list returned from TelephonyManager.getAllCellInfo() are related to SIM slot numbers?
I'm using Android API 24...
After experimenting a bit, it seems that running the method updateCellInfo
- described…

Arthur Hauer
- 57
- 9
3
votes
1 answer
getAllCellInfo - duplicate values
I am using getAllCellInfo to acquire serving- and neighboring cell info from my phone (unrooted LG G5 - for what it's worth), but the function returns duplicate data for all the neighboring-measured towers. In the area that I'm in, my test data is…

Paul
- 756
- 1
- 8
- 22
3
votes
2 answers
2G / 3G / 4G Network forcing
I'm busy writing some code to get signal strength and stuff but would like to programatically "force" my network connection to 2G / 3G / 4G so that for more conclusive measurements. I know there's a lot of applications capable of:
forcing…

Paul
- 756
- 1
- 8
- 22
3
votes
2 answers
how to read data inside cellInfo in telephonymanager android
I'm trying to make a program that read usual signal levels and other similar stuff and give it to the reader, I used the getAllCellInfo()
while it has some data, I can't figure out a way to extract the data inside to make it easily readable.
I tried…

bahaeddin sagar
- 73
- 1
- 9
3
votes
1 answer
Using CellSignalStrengthGsm only gives Integer.MAX_VALUE
after seeing that question and the answers (thanks by the way) I wrote this code wich is pretty much the same as in the answers:
try {
List cellInfoList = telephonyManager.getAllCellInfo();
for (CellInfo cellInfo :…

Grego
- 33
- 1
- 5
2
votes
1 answer
Why cellInfo size is zero? It is zero when I get it with TelephonyManager
I used cellInfo to get four parameters: rssi, rsrp, rsrq and sinr.
I can't find right solution to solve this problem.
Does anyone know how to get CellInfo?
I am currently using Android Emulator.
My Manifest permissions:

Bakkeldi
- 21
- 1
- 5