From 9c8a5408b707322bc195b5dbce07aa30bd539cc7 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 12 三月 2021 17:13:01 +0800 Subject: [PATCH] ios蓝牙 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 888cec2..de798f2 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -617,7 +617,7 @@ LoadEvent_SwitchFunction(btnLightPower, item, functionView); }; functionPageTitleId = StringId.Lights; - + #endregion break; case ShowFunction.AC: @@ -770,6 +770,15 @@ #if __IOS__ EZSDK.IOS.EZSDK.Go2EZvizMonitor(); #else //瀹夊崜鎽勫儚澶� + ((BaseActivity)Shared.Application.Activity).SetCamera(b => + { + if (b) + { + Android.Content.Intent intent = new Android.Content.Intent(); + intent.SetComponent(new Android.Content.ComponentName(Shared.Application.Activity, "com.videogo.MainActivity")); + Shared.Application.Activity.StartActivity(intent); + } + }); #endif }; -- Gitblit v1.8.0