获取详细信息,如MCC,MNC,LAC,小区ID [英] Retrieve Details Such as MCC,MNC,LAC,CellID

查看:321
本文介绍了获取详细信息,如MCC,MNC,LAC,小区ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能得到一个拨入号码的下列信息的android

Is it possible to get the following information of a incoming number in android

  1. 中冶
  2. MNC
  3. LAC
  4. 在小区ID

我已经试过了code

I have tried the code

        TelephonyManager tel = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
        String networkOperator = tel.getNetworkOperator();

        if (networkOperator != null) {
            mcc = Integer.parseInt(networkOperator.substring(0, 3));
            mnc = Integer.parseInt(networkOperator.substring(3));
        }

它返回当前的SIM卡的详细情况,但我想找到它的来电号码

It returns the details of the current SIM, But I want to find it for the incoming number

推荐答案

这是棘手为此,你需要implment在该用户的手机应用程序也。因为当你从一些用户使用电话,那么你将只能得到MSISDN,通过它,你不能GWT的细节。应该有对其他用户的移动应用程序,一个将触发的情况下,他发出呼吁,现在的应用程序可以获取MCC.MNC和小区ID,并可以通过手机短信发送给被叫方,然后被叫方可以处理此短信到一个事件获得的详细信息。其简单的逻辑是,如果你想窥探别人,那么你必须安装的东西,在他的结局。

This is tricky for this you need to implment a application in that user's phone also. Because when you are getting the call from some user then you will get only MSISDN through which you can not gwt the details. There should be a app on other users mobile which will trigger a event in case he makes a call, now that app can fetch the MCC.MNC and cell id and can send via sms to called party and then called party can process this sms to get the details. Its simple logic that if you want to spy someone then you have install something at his end.

这篇关于获取详细信息,如MCC,MNC,LAC,小区ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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