ZigbeeApp/.vs/GateWay/xs/UserPrefs.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ZigbeeApp/.vs/GateWay/xs/sqlite3/storage.ide | 补丁 | 查看 | 原始文档 | blame | 历史 | |
ZigbeeApp/GateWay.Droid/Application.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ZigbeeApp/GateWay.Droid/Properties/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ZigbeeApp/GateWay.Droid/Resources/Resource.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ZigbeeApp/GateWay.Droid/VideoActivity.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ZigbeeApp/.vs/GateWay/xs/UserPrefs.xml
@@ -1,24 +1,25 @@ <Properties StartupConfiguration="{28EDE1FF-20EF-476B-8AF8-24A3EEB69F45}|Default"> <MonoDevelop.Ide.ItemProperties.GateWay.Droid AndroidDesignerPreferredTheme="MyTheme1" AndroidDesignerPreferredDevice="Nexus 4" PreferredExecutionTarget="Android.5c86e4357d63" /> <MonoDevelop.Ide.ItemProperties.GateWay.Droid AndroidDesignerPreferredTheme="MyTheme1" AndroidDesignerPreferredDevice="Nexus 4" PreferredExecutionTarget="Android.Android_Accelerated_Oreo" /> <MonoDevelop.Ide.ItemProperties.ShardLib PreferredExecutionTarget="Android.Android_Accelerated_Oreo" /> <MonoDevelop.Ide.Workbench ActiveDocument="Shared/Phone/Device/Logic/AddLogicPage.cs"> <MonoDevelop.Ide.Workbench ActiveDocument="GateWay.Droid/VideoActivity.cs"> <Files> <File FileName="GateWay.Droid/Application.cs" Line="471" Column="17" /> <File FileName="GateWay.Droid/VideoActivity.cs" Line="1" Column="1" /> <File FileName="Shared/Phone/Device/Logic/AddLogicPage.cs" Line="69" Column="28" /> <File FileName="GateWay.Droid/VideoActivity.cs" Line="17" Column="24" /> <File FileName="Shared/Phone/Device/VideoIntercom/VideoMachine.cs" /> <File FileName="Shared/Phone/MainPage/HomeMainPageForm.cs" /> </Files> <Pads> <Pad Id="ProjectPad"> <State name="__root__"> <Node name="GateWay" expanded="True"> <Node name="GateWay.Droid" expanded="True" /> <Node name="GateWay.Droid" expanded="True"> <Node name="VideoActivity.cs" selected="True" /> </Node> <Node name="Shared" expanded="True"> <Node name="Phone" expanded="True"> <Node name="Device" expanded="True"> <Node name="Logic" expanded="True"> <Node name="AddLogicPage.cs" selected="True" /> </Node> <Node name="VideoIntercom" expanded="True" /> </Node> <Node name="MainPage" expanded="True" /> <Node name="VideoPhone" expanded="True" /> </Node> </Node> ZigbeeApp/.vs/GateWay/xs/sqlite3/storage.ideBinary files differ
ZigbeeApp/GateWay.Droid/Application.cs
@@ -284,14 +284,6 @@ //} } /// <summary> /// android通知栏点击打开可视对讲的方法 /// </summary> /// <param name="hiddenJson">云端推过来的数据</param> private void VideoMethod(string hiddenJson) { var hiddanJson = Newtonsoft.Json.Linq.JObject.Parse(hiddenJson); if (hiddanJson == null) { return; } var json = Newtonsoft.Json.Linq.JObject.Parse(hiddanJson["HiddanJson"].ToString()); if (json == null) { return; } Shared.Phone.VideoPhone.ESVideoInfo eSVideoInfo = new Shared.Phone.VideoPhone.ESVideoInfo(); if (json["uuid"].ToString().Contains(",")) { var uuid = json["uuid"].ToString().Split(','); eSVideoInfo.ESVideoUUID = uuid[0]; } else { eSVideoInfo.ESVideoUUID = json["uuid"].ToString(); } eSVideoInfo.DeviceName = Language.StringByID(Shared.R.MyInternationalizationString.theOutdoorUnit); eSVideoInfo.ESRoomID = int.Parse(json["roomno"].ToString()); if (!string.IsNullOrEmpty(json["unitno"].ToString())) { string str = json["unitno"].ToString(); string str1 = str.Substring(0, 2).TrimStart('0'); string str2 = str.Substring(2, 2).TrimStart('0'); eSVideoInfo.RoomName = str1 + Language.StringByID(Shared.R.MyInternationalizationString.dong) + str2 + Language.StringByID(Shared.R.MyInternationalizationString.unit); } Shared.Phone.VideoPhone.ESVideo.ShowESvideoVideoIntercom(eSVideoInfo); } ZigbeeApp/GateWay.Droid/Properties/AndroidManifest.xml
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.hdl.home" android:versionCode="0120061702" android:installLocation="auto" android:versionName="1.1.0120061702"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.evoyo.home" android:versionCode="0120061702" android:installLocation="auto" android:versionName="1.1.0120061702"> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="26" /> <permission android:name="com.hdl.home.permission.JPUSH_MESSAGE" android:protectionLevel="signature" /> <permission android:name="com.evoyo.home.permission.JPUSH_MESSAGE" android:protectionLevel="signature" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <!--8.0权限--> <uses-permission android:name="android.permission.GET_TASKS" /> @@ -91,7 +91,7 @@ <!-- 极光推送结束 --> <application android:allowBackup="true" android:largeHeap="true" android:persistent="true" android:label="HDL Home" android:icon="@drawable/Icon"> <!-- 自动更新 --> <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.hdl.home.fileProvider" android:grantUriPermissions="true" android:exported="false"> <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.evoyo.home.fileProvider" android:grantUriPermissions="true" android:exported="false"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" /> </provider> <!--自动更新结束--> @@ -101,7 +101,7 @@ <intent-filter> <action android:name="cn.jpush.android.ui.PushActivity" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="com.hdl.home" /> <category android:name="com.evoyo.home" /> </intent-filter> </activity> <service android:name="cn.jpush.android.service.PushService" android:process=":mult"> @@ -113,19 +113,19 @@ </intent-filter> </service> <!-- since 3.0.9 Required SDK 核心功能--> <provider android:authorities="com.hdl.home.DataProvider" android:name="cn.jpush.android.service.DataProvider" android:process=":pushcore" android:exported="false" /> <provider android:authorities="com.evoyo.home.DataProvider" android:name="cn.jpush.android.service.DataProvider" android:process=":pushcore" android:exported="false" /> <service android:name="cn.jpush.android.service.DaemonService" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="cn.jpush.android.intent.DaemonService" /> <category android:name="com.hdl.home" /> <category android:name="com.evoyo.home" /> </intent-filter> </service> <!-- since 3.1.0 Required SDK 核心功能--> <provider android:authorities="com.hdl.home.DownloadProvider" android:name="cn.jpush.android.service.DownloadProvider" android:exported="true" /> <provider android:authorities="com.evoyo.home.DownloadProvider" android:name="cn.jpush.android.service.DownloadProvider" android:exported="true" /> <receiver android:name="cn.jpush.android.service.PushReceiver" android:enabled="true"> <intent-filter android:priority="1000"> <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" /> <category android:name="com.hdl.home" /> <category android:name="com.evoyo.home" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.USER_PRESENT" /> @@ -140,7 +140,7 @@ </receiver> <receiver android:name="cn.jpush.android.service.AlarmReceiver" android:exported="false" /> <!-- User defined. For test only 用户自定义的广播接收器--> <receiver android:name="com.hdl.home.JpushNotificationReceiver" android:exported="false" android:enabled="true"> <receiver android:name="com.evoyo.home.JpushNotificationReceiver" android:exported="false" android:enabled="true"> <intent-filter> <action android:name="cn.jpush.android.intent.REGISTRATION" /> <!--Required 用户注册SDK的intent--> @@ -152,7 +152,7 @@ <!--Required 用户打开自定义通知栏的intent--> <action android:name="cn.jpush.android.intent.CONNECTION" /> <!-- 接收网络变化 连接/断开 since 1.6.3 --> <category android:name="com.hdl.home" /> <category android:name="com.evoyo.home" /> </intent-filter> </receiver> <!-- Required . Enable it you can get statistics data with channel --> ZigbeeApp/GateWay.Droid/Resources/Resource.designer.cs
Diff too large ZigbeeApp/GateWay.Droid/VideoActivity.cs
@@ -165,9 +165,32 @@ { if (v.Equals(ivBack)) { this.Finish(); try { //if (mPhone != null) // mPhone.HangUp(); //else this.Finish(); } catch (Exception e) { string error = e.Message; } } } } public override void OnBackPressed() { try { bool ssss=mPhone.IsCalling; if (mPhone != null) mPhone.HangUp(); else this.Finish(); } catch (Exception e) { string error = e.Message; } } //不能用View.INVISIBLE来完全隐藏,否则MediaCodec.configure会报ava.lang.IllegalArgumentException: The surface has been released //[Obsolete] @@ -325,7 +348,11 @@ hideRemoteVideo(); if (mPhone != null) { mPhone.StopStream(); try { mPhone.StopStream(); } catch { } } showTipDialog("提示","已挂断","确认"); break;