Hi Spike66, I was having the same issue yesterday; are you by any chance trying it on a Samsung phone (Galaxy, Nexus S...). I found out neighbouring cell info function is not working on samsung phones :/
On 24 mar, 17:45, Spike66 <jason.d.be...@gmail.com> wrote: > Hi > I have written an application in which I wish to interogate the > NeighboringCellInfo. > I can retrieve thecellinfo Ok, includingcellid, signal strength > etc. > I have declared the Telephony manager as follows: > > public void onCreate(Bundle savedInstanceState) > { > try > { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > tm = (TelephonyManager) getSystemService(TELEPHONY_SERVICE); > > ..and so on. > > In a following thread, I try to get the Neighboroughingcellinfo: > > List<NeighboringCellInfo> neighCell = null; > neighCell = tm.getNeighboringCellInfo(); > int noNCells=neighCell.size(); > for (int i = 0; i < (noNCells-1); i++) > { > try > { > NeighboringCellInfo thisCell = > neighCell.get(i); > int thisNeighCID = thisCell.getCid(); > int thisNeighRSSI = thisCell.getRssi(); > int thisNeighLac = thisCell.getLac(); > > ...and so on. > > The problemi is that I don't ever detect any neighboroughing cells. > What have I missed- could someone point me in the right direction. > Cheers -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en