android activity - how to get Cell Signal Strength in Lte without getAllCellInfo in andriod -
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.
android-activity
No comments:
Post a Comment