如何动态读取低级UMTS (3G)网络信息: Android中的UARFCN (绝对射频频道号)和SC (扰码)。这是完全可能的吗?
发布于 2017-07-18 15:15:25
在GSM、WCDMA和LTE中,您可以使用API访问ARFCN:
TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
CellInfo ci = tm.getAllCellInfo.get(0) ; // Registered Cell Tower
if (ci instanceof CellInfoGSM)
{
((CellInfoGSM)ci).getCellIdentity().getArfcn();
}
else if (ci instanceof CellInfoWCDMA)
{
((CellInfoWcdma)ci).getCellIdentity().getUarfcn();
}
else if (ci instanceof CellInfoLte)
{
((CellInfoLte)ci).getCellIdentity().getEarfcn();
}发布于 2013-08-21 19:03:46
有几个人在here和here上提出了这个问题,还有一些人在XDA论坛上提出了这个问题(不允许使用XDA链接)。
我不认为有任何公共API可以访问它,但是您可以使用TelephonyManager来获取有关电话服务的一些基本信息,例如IMEI或类似的服务,但不能使用UARFCN或SC
playstore上有一些应用程序,如ARFCN Calculator、ARFCN或UARFCN,这些应用程序可能会帮助您了解它
您可以decompile或Reverse engineer这些应用程序,并检查您是否从中获取了一些信息
https://stackoverflow.com/questions/16194156
复制相似问题