欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

wifi 连接

程序员文章站 2024-04-02 17:42:16
通过 wifi direct 连接够, 弹出框- 网络已连接成功,但会弹出网络不可用,是否要更换网络frameworks/base / services/core/java/com/android/server/connectivity/NetworkMonitor.javaprivate static final String DEFAULT_HTTPS_URL = "https://www.qualcomm.cn/generate_204"; privat......

 

通过 wifi direct 连接够, 弹出框

 

- 网络已连接成功,但会弹出网络不可用,是否要更换网络

 

frameworks/base / services/core/java/com/android/server/connectivity/NetworkMonitor.java

private static final String DEFAULT_HTTPS_URL     = "https://www.qualcomm.cn/generate_204";
    private static final String DEFAULT_HTTP_URL      = "http://www.qualcomm.cn/generate_204";


        mUseHttps = Settings.Global.getInt(mContext.getContentResolver(),
                Settings.Global.CAPTIVE_PORTAL_USE_HTTPS, 0) == 1;

 File f = new File("/mnt/vendor/persist/camera/calib_result");

        Log.d("lilei","-----我加载 节点信息");
        if(f.exists()){
            Log.d("lilei","-----我加载 节点信息 111111");
            FileInputStream ff = new FileInputStream(f);
            int size = ff.available();
            byte[] bb= new byte[size];
            ff.read(bb);
            String dd = new String(bb);
        }

本文地址:https://blog.csdn.net/kongbaidepao/article/details/110288395

相关标签: 一键换机