pranav bhatt
pranav bhatt

Reputation: 1

How do you get CID and signal strength of all surrounding cell towers in Android 9 and above?

Ever since NeighbouringCellInfo() was depreciated in Android 9, I have found no way to get the signal strength of towers other than that of the one my Samsung S8 is connected to.

I am designing an app that requires the above information for the algorithm to work. Any suggestions?

Upvotes: 0

Views: 562

Answers (1)

Martin Marconcini
Martin Marconcini

Reputation: 27246

According to the official Google documentation on NeighboringCellInfo, you're now supposed to use CellInfo instead.

This class was deprecated in API level 29.

This class should not be used by any app targeting Android Q or higher. Instead callers should use CellInfo.

Upvotes: 0

Related Questions