From 9b6359494209eaa95dcd6dbf776d7627f2ad7c69 Mon Sep 17 00:00:00 2001 From: Roman Buldygin Date: Sun, 12 Nov 2023 04:05:01 +0300 Subject: [PATCH] Android demo fix --- src/Rtl8812auNet.AndroidDemo/MainPage.xaml | 10 +- src/Rtl8812auNet.AndroidDemo/MainPage.xaml.cs | 95 ++++++++++++++----- src/Rtl8812auNet.AndroidDemo/MauiProgram.cs | 2 +- .../Android/AndroidServiceManager.cs | 32 +++++++ .../Android/DriverBackgroundService.cs | 57 +++++++++++ .../Platforms/Android/MainActivity.cs | 19 ++++ .../Platforms/MacCatalyst/AppDelegate.cs | 10 -- .../Platforms/MacCatalyst/Info.plist | 30 ------ .../Platforms/MacCatalyst/Program.cs | 17 ---- .../Platforms/Tizen/Main.cs | 18 ---- .../Platforms/Tizen/tizen-manifest.xml | 15 --- .../Platforms/iOS/AppDelegate.cs | 10 -- .../Platforms/iOS/Info.plist | 32 ------- .../Platforms/iOS/Program.cs | 17 ---- .../Rtl8812auNet.AndroidDemo.csproj | 34 ++++--- .../RtlUsb/RtlUsbDevice.cs | 42 ++++++-- src/Rtl8812auNet.ConsoleDemo/Program.cs | 2 +- src/Rtl8812auNet/WiFiDriver.cs | 45 +++++++-- src/WiFiDriver.sln | 16 +++- 19 files changed, 290 insertions(+), 213 deletions(-) create mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/Android/AndroidServiceManager.cs create mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/Android/DriverBackgroundService.cs delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/MacCatalyst/AppDelegate.cs delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/MacCatalyst/Info.plist delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/MacCatalyst/Program.cs delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/Tizen/Main.cs delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/Tizen/tizen-manifest.xml delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/iOS/AppDelegate.cs delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/iOS/Info.plist delete mode 100644 src/Rtl8812auNet.AndroidDemo/Platforms/iOS/Program.cs diff --git a/src/Rtl8812auNet.AndroidDemo/MainPage.xaml b/src/Rtl8812auNet.AndroidDemo/MainPage.xaml index 9cf38aa..a0f2152 100644 --- a/src/Rtl8812auNet.AndroidDemo/MainPage.xaml +++ b/src/Rtl8812auNet.AndroidDemo/MainPage.xaml @@ -16,22 +16,20 @@ HorizontalOptions="Center" />