I try to implement a function into my Android Application that finds out the cell id of the cell I'm in in a LTE network. I recently read a lot about using TelephonyManager.getAllCellInfo() and then filter for CellInfoLte, but also that it's not implemented on every device. So in my case calling telephonymaganger.getAllCellInfo() returns null.
I'm testing with a Samsung phone, what seems not to be the best case. Is there any way to find out the Cell ID or is it just not accessible yet?