From 55130d03f9399a53da16307e977c1d66e762616f Mon Sep 17 00:00:00 2001 From: CXNT48 Date: Mon, 11 Nov 2024 15:18:54 +0100 Subject: [PATCH] marked as v1.3 --- .../Platforms/Android/AndroidManifest.xml | 2 +- .../Platforms/Android/DWIntentReceiver.cs | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/datawedge-MAUI-SampleApp/Platforms/Android/AndroidManifest.xml b/datawedge-MAUI-SampleApp/Platforms/Android/AndroidManifest.xml index 295a309..f1db027 100644 --- a/datawedge-MAUI-SampleApp/Platforms/Android/AndroidManifest.xml +++ b/datawedge-MAUI-SampleApp/Platforms/Android/AndroidManifest.xml @@ -1,5 +1,5 @@  - + diff --git a/datawedge-MAUI-SampleApp/Platforms/Android/DWIntentReceiver.cs b/datawedge-MAUI-SampleApp/Platforms/Android/DWIntentReceiver.cs index fc6d797..52ef06c 100644 --- a/datawedge-MAUI-SampleApp/Platforms/Android/DWIntentReceiver.cs +++ b/datawedge-MAUI-SampleApp/Platforms/Android/DWIntentReceiver.cs @@ -27,15 +27,17 @@ public override void OnReceive(Context context, Intent intent) { if (intent.HasExtra("com.symbol.datawedge.barcodes")) { - WeakReferenceMessenger.Default.Send("NG SIMULSCAN - MULTIBARCODE DETECTED"); + WeakReferenceMessenger.Default.Send("NG SIMULSCAN - MULTIBARCODE"); List palobs = intent.Extras.GetParcelableArrayList("com.symbol.datawedge.barcodes").Cast().ToList(); + StringBuilder sb = new StringBuilder(); foreach (Bundle b in palobs) { String barcode = b.GetString("com.symbol.datawedge.data_string"); String timestamp = b.GetString("com.symbol.datawedge.timestamp"); String symbology = b.GetString("com.symbol.datawedge.label_type"); - WeakReferenceMessenger.Default.Send(symbology + " " + barcode); + sb.AppendLine("-"+symbology + " " + barcode); } + WeakReferenceMessenger.Default.Send(sb.ToString()); } else if (intent.HasExtra("com.symbol.datawedge.label_type")) {