• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Why getNeighboringCellInfo() always returns NULL?

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?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones