How to detect tower changes in Android?

后端 未结 2 457
迷失自我
迷失自我 2020-12-16 23:58

Just wanted to know whether it\'s possible to get cell tower changes in Android?

I have seen an event called onCellLocationChanged in PhoneStateL

2条回答
  •  无人及你
    2020-12-17 00:27

    This is not true. onCellLocationChanges from PhoneStateListener is ONLY called when the phone is NOT sleeping. You have to wake up the phone (force a wakelock) - to get cell info.

提交回复
热议问题