Skip to content

Commit

Permalink
marked as v1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
NDZL committed Nov 11, 2024
1 parent b9fa5bd commit 55130d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ndzl.dwmaui" android:versionName="1.2">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ndzl.dwmaui" android:versionName="1.3-NGSimulscan(multibarcode)">

<application android:allowBackup="true" android:icon="@mipmap/appicon" android:supportsRtl="true"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Bundle> palobs = intent.Extras.GetParcelableArrayList("com.symbol.datawedge.barcodes").Cast<Bundle>().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"))
{
Expand Down

0 comments on commit 55130d0

Please sign in to comment.