how to get Cell Signal Strength in Lte without getAllCellInfo in andriod

  • Replies:0
  • OpenNot stickiedUnanswered

Jun 27, 2014 9:02:01 AM via Website

I am using bellow code to get Signal Strength in Lte.

for (final CellInfo info : tm.getAllCellInfo()) {

if (info instanceof CellInfoLte) {
final CellSignalStrengthLte lte = ((CellInfoLte) info).getCellSignalStrength();
lte.getDbm();
}

}
But getAllCellInfo in returning NULL. So what is way to initialize CellSignalStrengthLte without calling tm.getAllCellInfo? my API version is 17.