From 6d73bf6e816570291865674bef8bce8972e4de3f Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 01 十二月 2021 16:32:57 +0800 Subject: [PATCH] 2021-12-01-01 --- HDL-ON_Android/FengLinVideo/Form/MonitorFragment.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HDL-ON_Android/FengLinVideo/Form/MonitorFragment.cs b/HDL-ON_Android/FengLinVideo/Form/MonitorFragment.cs index 983b35a..ca7ce90 100644 --- a/HDL-ON_Android/FengLinVideo/Form/MonitorFragment.cs +++ b/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); } } } -- Gitblit v1.8.0