Questions tagged [cellinfo]
42 questions
0
votes
1 answer
telephonyManager.getAllCellInfo() and subscriptionManager.getActiveSubscriptionInfoList() both returns different mnc (mobile Network code)
I'm trying to get the signal strength of dual sims it works absolutely fine on most of the phones but for some phones (same android version [11] but different geographic location) the MNC code what we receive from…

Mahesh Gouda
- 118
- 9
0
votes
1 answer
how to create an object of CellInfo for unit testing?
I am writing unit test case, What I can't understand is how can I make a dummy object of CellinfoGsm or of any technology and test my code from it. I did read the documentation and the base class of CellInfo but I can't understand how to use the…

Muhammad Abdullah
- 117
- 1
- 13
0
votes
1 answer
Android > How to get service state for both sim cards in dual sim device?
I need it for API 22 and above.
I saw that we have telephonyManager.getServiceState - but I don't know how to get it for sim1 and for sim2 exactly.
Also we have CellInfo.serviceState - but it's only from API 28.
How to get it? I don't need any…

Vladimir Fisher
- 3,090
- 2
- 17
- 23
0
votes
1 answer
How to get Cell ID and Location Area code in android 9 ( Pie ) devices without using GPS?
I tried getAllCellInfo(), getCellLocation() and getNeighboringCellInfo() to get Cell ID and Location Area Code.
I got the values(Cell ID and Location Area Code) when the GPS is turned into ON state and Without GPS these methods return null
So what i…

Jeosh Kurian E J
- 161
- 17
0
votes
1 answer
How to get accurate signal strength in Android application?
I use CellInfo to capture signal strength and ARFCN/UARFCN/EARFCN every second.
But, I think it is not very accurate. It is always worse -5 ~ -10 dBm than the signal strength displayed in Phone settings. Sometimes, I also got 0 or…

LaoDa581
- 563
- 4
- 18
0
votes
1 answer
Android pulling LTE RSRP value
First, here's my code for getting lte rsrp (or other) values.
This code piece runs on another aysncTask.
TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
int tempInt;
while (isRunning) {
…

March3April4
- 2,131
- 1
- 18
- 37
0
votes
0 answers
Get neighboring cell operator names on Android
I am working a little with the TelephonyManager.getAllCellInfo(). I do receive a list of the neighboring cells in the form of List. However, I can only get the name of the currently connected network (operator name) and not the neighboring…

7heViking
- 7,137
- 11
- 50
- 94
0
votes
1 answer
The method getAllCellInfo() is undefined for the type TelephonyManager [Android]
Using the following code, I'm trying to get the available cell information:
import android.telephony.CellInfo;
TelephonyManager telephonyManager = (TelephonyManager)context.getSystemService( context.TELEPHONY_SERVICE );
List cellList =…

kralvarado
- 458
- 5
- 13
0
votes
1 answer
Get location name in android without internet
There are several methods to get location name using lon&lat like GeoCoder or GoogleMap API.
But these methods need to internet for their job!.
is there any way to get location name without internet access?
note:in some device location name…

hamedata
- 125
- 1
- 12
0
votes
2 answers
How to display all available cells on a galaxy nexus (4.3)
My employer gave me a femto-cell and currently i am trying to figure if my galaxy-nexus can access the femtocell. As i cant force my phone to use this specific cell and it automatically always uses just available macro-cells, i have trouble to…

bofredo
- 2,348
- 6
- 32
- 51
0
votes
1 answer
How to get cellid through phonegap
I am creating an app using sencha touch. After that building this with phonegap so that it can be available in multiple platform. Now I need to find out a way to get user's nearest cell tower location. So that I can get his location. I don't want to…

Krisanu
- 43
- 1
- 2
- 8
-1
votes
1 answer
interpretation of List informations
i developed a mini application that get back the neighbours cells informations, i used telephonymanager class.
I got the information bellow, my problem is that i cant interpret its :
07-03 10:40:25.044 …

DGz
- 109
- 2
- 6