wxr
2021-12-15 e71c57108e6dd407c2c6f0361f68150f2ff9aed5
HDL-ON_Android/FengLinVideo/Form/MonitorFragment.cs
@@ -38,7 +38,7 @@
        private TextView unlockText;
        // 更新线程
        private Thread thread = null;
        public static Thread thread = null;
        public MonitorFragment(VideoPhone phone)
        {
@@ -80,7 +80,7 @@
                    unlockImag.Selected = true;
                    JSONObject ht = new JSONObject();
                    ht.Put("command", "open");//固定参数
                    ht.Put("room_id", 123);
                    ht.Put("room_id", VideoActivity.Roomno);
                    ht.Put("devType", 7);
                    mPhone.SendCustomData(ht.ToString());
                }
@@ -148,6 +148,8 @@
                    string ss = Android.OS.Environment.ExternalStorageDirectory.Path + "/DCIM/Camera";
                    string path = ss + "/" + time + ".jpg";
                    mPhone.Snap(path);
                    //2021-09-01 增加发送广播,通知刷新图库的显示
                    HDLONUtils.SendBroadcastScanFile(this.Context, path);
                }
            }
        }