Get neighboring cell in Android returns null

后端 未结 3 1288
独厮守ぢ
独厮守ぢ 2021-01-27 01:24

I\'m trying to get the neighbouring cell info in Android but the function getNeighboringCellInfo() always return null.

I used the following code :



        
3条回答
  •  遇见更好的自我
    2021-01-27 02:00

    If you can run logcat, try running logcat -b radio. If you are lucky, the RIL code will be spitting out debug messages, showing the actual request to the modem for the neighboring cell info. It could well be that the modem is just returning an empty list. If this is the case, it has nothing to do with permissions, and there is not much you can to fix it.

提交回复
热议问题