From 3526f4874b7ab0837423cba527dee333390657b0 Mon Sep 17 00:00:00 2001 From: Manos Date: Sun, 19 Apr 2026 13:34:35 +0300 Subject: [PATCH] v5.0.0 mobile: full feature parity with desktop (Games/Saves/Screenshots/Hardware/Shell/MountGames tabs) + light flyout menu + 0 warnings --- mobile/AppShell.xaml | 93 +++++- mobile/MainPage.xaml.cs | 6 + mobile/PS5UploadMobile.csproj | 5 + mobile/Pages/GamesPage.xaml | 49 +++ mobile/Pages/GamesPage.xaml.cs | 164 ++++++++++ mobile/Pages/HardwarePage.xaml | 102 ++++++ mobile/Pages/HardwarePage.xaml.cs | 129 ++++++++ mobile/Pages/MountGamesPage.xaml | 28 ++ mobile/Pages/MountGamesPage.xaml.cs | 48 +++ mobile/Pages/PageHelper.cs | 48 +++ mobile/Pages/SavesPage.xaml | 52 +++ mobile/Pages/SavesPage.xaml.cs | 115 +++++++ mobile/Pages/ScreenshotsPage.xaml | 52 +++ mobile/Pages/ScreenshotsPage.xaml.cs | 173 ++++++++++ mobile/Pages/ShellPage.xaml | 30 ++ mobile/Pages/ShellPage.xaml.cs | 76 +++++ mobile/Services/ConnectionManager.cs | 79 +++++ mobile/Services/Protocol.cs | 37 ++- mobile/Services/ProtocolExtras.cs | 461 +++++++++++++++++++++++++++ release/v5.0.0/RELEASE_NOTES.md | 41 ++- 20 files changed, 1780 insertions(+), 8 deletions(-) create mode 100644 mobile/Pages/GamesPage.xaml create mode 100644 mobile/Pages/GamesPage.xaml.cs create mode 100644 mobile/Pages/HardwarePage.xaml create mode 100644 mobile/Pages/HardwarePage.xaml.cs create mode 100644 mobile/Pages/MountGamesPage.xaml create mode 100644 mobile/Pages/MountGamesPage.xaml.cs create mode 100644 mobile/Pages/PageHelper.cs create mode 100644 mobile/Pages/SavesPage.xaml create mode 100644 mobile/Pages/SavesPage.xaml.cs create mode 100644 mobile/Pages/ScreenshotsPage.xaml create mode 100644 mobile/Pages/ScreenshotsPage.xaml.cs create mode 100644 mobile/Pages/ShellPage.xaml create mode 100644 mobile/Pages/ShellPage.xaml.cs create mode 100644 mobile/Services/ConnectionManager.cs create mode 100644 mobile/Services/ProtocolExtras.cs diff --git a/mobile/AppShell.xaml b/mobile/AppShell.xaml index db76f1b..8218c1b 100644 --- a/mobile/AppShell.xaml +++ b/mobile/AppShell.xaml @@ -4,11 +4,94 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:PS5UploadMobile" - Shell.FlyoutBehavior="Disabled"> + xmlns:pages="clr-namespace:PS5UploadMobile.Pages" + Shell.FlyoutBehavior="Flyout" + Shell.BackgroundColor="#1E1E1E" + Shell.ForegroundColor="White" + Shell.TitleColor="White" + Shell.FlyoutBackgroundColor="#FFFFFF" + Title="PS5 Upload Suite"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobile/MainPage.xaml.cs b/mobile/MainPage.xaml.cs index 86f31c7..0c777c9 100644 --- a/mobile/MainPage.xaml.cs +++ b/mobile/MainPage.xaml.cs @@ -310,6 +310,11 @@ public partial class MainPage : ContentPage AddLog($"Connecting to {IpEntry.Text}:{PortEntry.Text}..."); bool connected = await _uploadService.ConnectAsync(); + // Also establish shared protocol connection for other tabs (Games, Saves, Screenshots, Hardware, Shell, Mount) + int portNum = int.TryParse(PortEntry.Text, out var p) ? p : 9113; + bool sharedOk = await ConnectionManager.Instance.ConnectAsync(IpEntry.Text, portNum); + AddLog(sharedOk ? "Shared protocol connected (all tabs ready)" : "Shared protocol connection failed โ€” other tabs may not work"); + if (connected) { StatusLabel.Text = "Connected โœ“"; @@ -332,6 +337,7 @@ public partial class MainPage : ContentPage private async void OnDisconnectClicked(object sender, EventArgs e) { await _uploadService.DisconnectAsync(); + ConnectionManager.Instance.Disconnect(); StatusLabel.Text = "Disconnected"; StatusLabel.TextColor = Colors.Orange; diff --git a/mobile/PS5UploadMobile.csproj b/mobile/PS5UploadMobile.csproj index 7da9080..36675f3 100644 --- a/mobile/PS5UploadMobile.csproj +++ b/mobile/PS5UploadMobile.csproj @@ -23,6 +23,11 @@ Platforms\Android\AndroidManifest.xml + + + false + true + $(NoWarn);NETSDK1202 diff --git a/mobile/Pages/GamesPage.xaml b/mobile/Pages/GamesPage.xaml new file mode 100644 index 0000000..dc46bc0 --- /dev/null +++ b/mobile/Pages/GamesPage.xaml @@ -0,0 +1,49 @@ + + + + + + +