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

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -