This method is preferred over using {@link
* android.telephony.TelephonyManager#getCellLocation getCellLocation()}.
* However, for older devices, <code>getAllCellInfo()</code> may return
* null. In these cases, you should call {@link
* android.telephony.TelephonyManager#getCellLocation getCellLocation()}
* instead.
*
* @return List of {@link android.telephony.CellInfo}; null if cell
* information is unavailable.
根据Android API解释,在高版本系统上推荐使用来获取,但对于老版本系统来说,此时可能返回的是空指针,此时推荐调用getCellLocation来代替,既然你现在得到的是空指针,你可以试试getCellLocation,看能否获得你想要的信息。
已解决,谢谢大家
得到相邻小区的信号强度?
这个是啥意思?