M1+M2: MAUI Android companion - QR/manual pairing, queue polling UI, library streaming player modal (TapGestureRecognizer+PushModalAsync; linker keeps AndroidX.LocalBroadcastManager), ZXing scan+MediaElement playback. Emulator E2E: paired to host server, live queue/library render, real MP4 frames streamed+rendered, back closes player
This commit is contained in:
parent
bb569acd96
commit
250b2c3c10
33 changed files with 1341 additions and 0 deletions
29
VideoDownloader.Mobile/MauiProgram.cs
Normal file
29
VideoDownloader.Mobile/MauiProgram.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using Microsoft.Extensions.Logging;
|
||||
|
||||
using CommunityToolkit.Maui;
|
||||
using ZXing.Net.Maui.Controls;
|
||||
|
||||
namespace VideoDownloader.Mobile;
|
||||
|
||||
public static class MauiProgram
|
||||
{
|
||||
public static MauiApp CreateMauiApp()
|
||||
{
|
||||
var builder = MauiApp.CreateBuilder();
|
||||
builder
|
||||
.UseMauiApp<App>()
|
||||
.UseBarcodeReader()
|
||||
.UseMauiCommunityToolkitMediaElement()
|
||||
.ConfigureFonts(fonts =>
|
||||
{
|
||||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
|
||||
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
|
||||
});
|
||||
|
||||
#if DEBUG
|
||||
builder.Logging.AddDebug();
|
||||
#endif
|
||||
|
||||
return builder.Build();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue