how to get Cell Signal Strength in Lte without getAllCellInfo in android -


i using bellow code 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. way initialize cellsignalstrengthlte without calling tm.getallcellinfo? api version 17.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -