Questions tagged [cellinfo]
42 questions
2
votes
1 answer
Measuring 5G(New Radio) data
List cellInfoList = telephonyManager.getAllCellInfo();
First, I got total cellInfoList, and separated to CellInfo
cellRSRP = ((CellSignalStrengthNr) ((CellInfoNr) cellInfo).getCellSignalStrength()).getCsiRsrp();
I tried to get 5G RSRP…

ROZIA
- 49
- 6
2
votes
1 answer
How to convert CellInfo timestamp to actual date?
I am using TelephonyManger.getAllCellInfo to gather information about nearby cells. I noticed that CellInfo contains a field named mTimestamp, which according to documentation is:
Approximate time of this cell information in nanos since boot
Now,…

Keselme
- 3,779
- 7
- 36
- 68
1
vote
0 answers
Android TelephonyManager requestCellInfoUpdate returning old timeStamp but data was changed
I update allCellInfo in Android 10 and higher with requestCellInfoUpdate:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
tm.requestCellInfoUpdate(
context.mainExecutor,
object :…

Kalvin Klaine
- 11
- 1
1
vote
1 answer
Is there a way to make a CellInfoNr to CellSignalStrengthNr?
I'm looking for a documentation for output a inner cellinfo like RSRP, RSRQ, SINR, RSSI.
And I want to look upon 5G(New Radio) data.
cellRSRP = ((CellSignalStrengthNr) ((CellInfoNr) cellInfo).getCellSignalStrength()).getCsiRsrp();
This is what I've…

ROZIA
- 49
- 6
1
vote
0 answers
Android how to get Earfcn data?
is there a way I could get earfcn from my device, when my app is at api <= 23?
I know I can use CellIdentityLte from CellInfo and call for getEarfcn(), how ever it's only for api 24 and above.

Keselme
- 3,779
- 7
- 36
- 68
1
vote
0 answers
Android PhoneStateListener.onSignalStrengthsChanged()
I'd like to tracking Lte signal strength, so I've been using below method.
PhoneStateListener.onSignalStrengthsChanged(singnalStrength: SignalStrength)
telephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS)
and I've been…

Choim
- 372
- 1
- 10
1
vote
1 answer
getAllCellInfo() returns empty list on Nexus 5x
I read all posts about getAllCellInfo() and have a similar situation like this.
The code posted below runs well on Android 6 (OnePlus One) but returns an empty list of Cellinfo on Google Nexus 5x Android 8.1 API 27.
I have set the Permission ACCESS…

damned
- 9
- 3
1
vote
0 answers
Android - getAllCellInfo() returns corruped values
I have to implement an android application to get information about the cellular network, like signal strength, cellId and radio access technologie.
My implementation is close to this example: https://stackoverflow.com/a/38176434/7822319. I just…

Benni
- 11
- 3
1
vote
0 answers
Android get All Cell Info
I am working on 3G and 4G networks monitoring. I try to show cell infos like RSRP, RSSI and SINR for 4G (RSCP, RSSI, EcNo for 3G). I've found that the method getAllCellInfo() can do the work for me since it contains all what I need but its value is…

A.Belta
- 11
- 1
- 7
1
vote
2 answers
From PSC to real location
Using TelephonyManager.getAllCellInfo() I was able to get information about neighboring cell tower including cellid, but in case of UMTS I only get the PSC value.
Is it possible to know a location of a cell tower from its PSC and the MCC, MNC, LAC…

Oussama Achech
- 131
- 1
- 11
1
vote
1 answer
LTE signal ASU level always 97
I am capturing the RSSI values of LTE signals using the below code:
cInfoList = telephony_manager.getAllCellInfo()
for (CellInfo info : cInfoList){
if (info instanceof CellInfoLte) {
CellSignalStrengthLte signalstrength_lte =…

Onur
- 317
- 1
- 2
- 13
1
vote
1 answer
Can I find MCC + MNC of network providers for muti sims
For example I have a dual sim mobile with Airtel and Vodafone sims in it. I would like to know Can we get MCC and MNC of both network providers.
I know that
Using getPhoneCount() We can know, how many sims a device has.
Using…

Sai Phani
- 63
- 1
- 8
0
votes
1 answer
How to use TelephonyCallback.CellInfoListener?
I'd like to get cell information updates on an android 12 phone.
I can do this for older versions of android using PhoneStateListener class and listen method. But they are deprecated in android 12.
I'v tried below code but it doesn't show…

Sara-Omidvar
- 1
- 4
0
votes
0 answers
Get Cellinfo for dual sim (Primary -physical sim and Secondary E-sim) Android
Background: As mentioned in the header, I use two sims (one physical and one Esim). Either one can be made primary sim as required by the user. Also, both the sims are active at the same time.
My app involves getting cellinfo and signal strength…

Akshay Chougule
- 51
- 1
- 5
0
votes
1 answer
I want to use requestCellInfoUpdate in Android 9
I'm using requestCellInfoUpdate() callback to get the latest cell info results. It is working fine in Android version Q and above but when I use it in versions below 10, the app crashes. My goal is to continuously get the latest cell info results in…

Junaid Javed
- 3
- 2