https://github.com/zebradevs/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.
https://github.com/zebradevs/datawedge-maui-sampleapp
Last synced: 10 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/zebradevs/datawedge-maui-sampleapp
- Owner: ZebraDevs
- License: mit
- Created: 2023-02-23T14:57:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T16:04:44.000Z (over 1 year ago)
- Last Synced: 2025-04-06T01:51:14.547Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 243 KB
- Stars: 24
- Watchers: 5
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 https://github.com/ZebraDevs/datawedge-MAUI-SampleApp/blob/155b927eceba9d8c935e755583cf3030f614ec23/datawedge-MAUI-SampleApp/Platforms/Android/DWIntentReceiver.cs#L133
- 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
- 
- 
### 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!
- 
- 
### v1.3+ - raw_data support
- "com.symbol.datawedge.decode_data" field is now decoded and logged to logcat when available in the received intent
- refer to https://github.com/ZebraDevs/datawedge-MAUI-SampleApp/blob/fce7faa6676116439144f460aad602a5547a22c0/datawedge-MAUI-SampleApp/Platforms/Android/DWIntentReceiver.cs#L45
## Jan.2025's updates
- now running on .NET9, targeting API Level 35!
- 
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 https://github.com/ZebraDevs/datawedge-MAUI-SampleApp/issues/4#issuecomment-2468257978
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


