只是想知道是否有可能获得在Android的手机信号塔的变化?
Just wanted to know whether it's possible to get cell tower changes in Android?
我已经看到了 PhoneStateListener
名为 onCellLocationChanged
的事件。
I have seen an event called onCellLocationChanged
in PhoneStateListener
.
我可以用这个来检测手机信号塔的变化?
Can I use this to detect cell tower changes ?
这是正确的方法。如果你是在一个新的电池它总是被调用。看到这里的文档:
This is the correct method. It is always called if you are in a new cell. See the documentation here:
http://developer.android.com/reference/android/telephony/PhoneStateListener.html#onCellLocationChanged(android.telephony.CellLocation)