0

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?

Jared Forth
  • 1,577
  • 6
  • 17
  • 32

1 Answers1

0

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.

Community
  • 1
  • 1
Martin Marconcini
  • 26,875
  • 19
  • 106
  • 144
  • 1
    I had already checked that, but there was nothing in CellInfo that I could use to find the information i needed for all the cell towers though. Thanks for the speedy reply! – pranav bhatt Jul 02 '19 at 04:27
  • Sorry to hear about CellInfo not having all the info; honestly, I never had to use either, so I cannot comment on your specific needs. Perhaps if you expand how you were using Neighboring cell info, we can try to find where this information lives (if it's still open). – Martin Marconcini Jul 02 '19 at 10:59
  • Well I'm trying to show the top 6 nearest towers ordered according to strength in my app, so I want to use the cell tower ID and signal strength to do that. I'm trying to figure out the rest, but if I can get the above minimum, I'm probably good to go. – pranav bhatt Jul 03 '19 at 04:07
  • @pranavbhatt my app also need to find the neighbor cell info and single strength .. can you pls help me with that.. i am finding any solution – Mandeep Kaur Jul 29 '21 at 07:27