其中Android手机型号支持getNeighboringCellInfo()? [英] Which Android phone models support getNeighboringCellInfo()?

查看:439
本文介绍了其中Android手机型号支持getNeighboringCellInfo()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找到一个电话,可以拨打getNeighboringCellInfo()没有返回null。

我拥有一台LG-P990,不幸失败。 我看过一些文章,发现所有Samgsung手机包括Nexus S的不工作。

的Nexus one的作品,但很难找到一个现在。 有谁告诉我哪些型号是否行得通呢?谢谢你。

  TelephonyManager TM =(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
名单< NeighboringCellInfo>邻居= tm.getNeighboringCellInfo();
 

解决方案

我试了几个型号的手机,我发现大部分的三星手机不给你这个信息。

您可以从这些信息

  • 在谷歌Nexus One
  • HTC感觉
  • Android的G1
  • 的HTC Desire

I want to find a phone that can call getNeighboringCellInfo() without returning null.

I'm owning a LG-P990 and unfortunately it fails. I have read some articles and find that all Samgsung phones including Nexus S don't work.

Nexus one works, but it's difficult to find one now. Could anybody tell me which models will work? Thanks.

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
List<NeighboringCellInfo> neighbours = tm.getNeighboringCellInfo();

解决方案

I tried a couple of phone models, and I found out that most of the Samsung phones don't give you this information.

You can get this information from

  • Google Nexus One
  • HTC Sensation
  • Android G1
  • HTC Desire

这篇关于其中Android手机型号支持getNeighboringCellInfo()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆