Skip to content

Showing how to integrate Zebra Datawedge barcode readings into an existing .NET MAUI App. DW is sending readings via broadcast Intents and needs a specific profile setup which is part of this solution.

License

Notifications You must be signed in to change notification settings

ZebraDevs/datawedge-MAUI-SampleApp

Repository files navigation

datawedge-MAUI-SampleApp

Showing how to integrate Zebra Datawedge barcode readings into an existing .NET MAUI App. DW is sending readings via broadcast Intents and needs a specific profile setup which is part of this solution.

Latest updates (Apr.2025)

v1.5 - Free-form Image Capture profiles are supported

  • Refer to

    else if (intent.HasExtra("workflow_name") && intent.GetStringExtra("workflow_name").Equals("free_form_capture")) {

  • This new code section detects and decodes intents sent by a free-form image capture workflow.

  • Decoded barcode values are printed on the screen

  • The related captured image is saved to disk

  • Validated on TC58 BSP 14.20.14U160 - DW 15.0.16

  • The APK for testing this feature is available here https://github.com/ZebraDevs/datawedge-MAUI-SampleApp/releases/download/v1.5/com.ndzl.dwmaui-freeformimagecapture-v1.5.apk

    Instructions for a brand new installation:

    • Install and run the APK
    • Push the “Import Profile” button. This creates an adhoc profile under DW
    • That profile scans single barcodes – doublecheck it works as such.
    • Then edit the com.ndzl.dwmaui profile:
      • Enable Workflows
      • Enable Freeform Image Capture
      • Ensure Decode&Highlight is selected.
    • Press the trigger button once to start the workflow session, aiming at the barcodes
    • Press the trigger again to capture the scene.
    • Decoded values are printed on the screen, the image is saved in the disk
  • Screenshots

    • image
    • image

v1.4 - Profile import

  • A "Import Profile" button is now available. By default, Profile0 is the default profile. By pushing the Import Profile button, a specific, asset-predefined profile gets imported and associated to this app.

  • Check it's working with the "DW Active Profile", to see the currently set default profile.

  • If you make changes to the "com.ndzl.dwmaui" profile, remind that a new import will overwrite your changes.

  • Code behind the "Import Profile" button is credit by Laurent Trudu - Thanks Laurent!

  • image

  • image

v1.3+ - raw_data support

Jan.2025's updates

  • now running on .NET9, targeting API Level 35!
  • image

See the Releases section of this repository to download the DW Profile0. To install the profile, follow https://techdocs.zebra.com/datawedge/latest/guide/settings/#datawedgesettings

Alternatively, you can define a DW Profile at runtime by means of the DW Intent APIs as explained here https://techdocs.zebra.com/datawedge/11-4/guide/api/

For NG Simulscan / Multibarcode, see here #4 (comment)

Code v1.3 covers Multibarcode and was tested on TC58 Android 14 (DW 13.0.325)

Screenshots from the app v1.2 - Tested on TC53e, Android 13, DW 13.0.341

image

image

image

About

Showing how to integrate Zebra Datawedge barcode readings into an existing .NET MAUI App. DW is sending readings via broadcast Intents and needs a specific profile setup which is part of this solution.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages