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 .toString()
method but it gave the same results
List<CellInfo> cell= tm.getAllCellInfo();
Is there a way to make easily readable? Or is there an easier way to take these data?
I'm looking for RSSI and power related parameters.
Here is what I have done:
Then I can print the
parts
array element that I need. Here I am getting the PCI. Then just for a quick check print it withLog.d("TAG", "PCI is " + cellPci);
and watch for it in logcat.You can check out my app that gets LTE RSRP, RSRQ, PCI, etc. at my github: https://github.com/parksjg/IndoorLTE3a