Hi, I am a university student majoring in compuer science.
I am developing an application for 3G locating. Thus information of cell house must be got at first. However, getNeighboringCellInfo always returns NULL.
The code is:
TelephonyManager tm = (TelephonyManager)getSystemService (Context.TELEPHONY_SERVICE);
List<NeighboringCellInfo> list = tm.getNeighboringCellInfo();
When I tested it on Hero G3, Hero G6, HTC G1, Samsungi9000 Galaxy, list is a null value. What's wrong with the function?
It has troubled me for a long time.
Can anybody help me?
I am developing an application for 3G locating. Thus information of cell house must be got at first. However, getNeighboringCellInfo always returns NULL.
The code is:
TelephonyManager tm = (TelephonyManager)getSystemService (Context.TELEPHONY_SERVICE);
List<NeighboringCellInfo> list = tm.getNeighboringCellInfo();
When I tested it on Hero G3, Hero G6, HTC G1, Samsungi9000 Galaxy, list is a null value. What's wrong with the function?
It has troubled me for a long time.
Can anybody help me?