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
Post a Comment