Illustrated title card for the guide: Zebra DataWedge Scans Work in DWDemo and Fail in App

troubleshooting

Zebra DataWedge Scans Work in DWDemo and Fail in App

When Zebra DataWedge scans appear in DWDemo and your app stays empty, check the app’s profile, scanner input, and Keystroke or Intent Output.

If DWDemo displays the barcode value, the demo app received decoded data through the DWDemo profile. By default, that profile delivers scans to DWDemo via Android intent. For your app, check the profile that applies to its scanning screen, then make sure its barcode input and output are set up for that app. Zebra Demo App · Zebra FAQ

Check the app’s access, profile, and scanner

DataWedge applies the associated profile when the app or activity comes to the foreground. Profile0 is the generic fallback for an unassociated app. Zebra Get Started

CheckWhat to do
Is the app or activity disabled?In DataWedge, open Profiles → menu → Settings → Disabled app list. Check the app’s package and the specific activity where you scan. A disabled package covers every activity in it. A disabled activity affects only that activity. A disabled app or activity cannot use DataWedge scanning or be associated with a profile. Zebra Settings
Does a profile cover the scanning activity?From Profiles, open the profile for your app and check Profile enabled. Under Associated apps, confirm that the association covers the activity where you scan. If you need to add it, open the menu there and tap New app/activity. Select the app, then select its scanning activity or the asterisk to cover all its activities. Zebra Manage Profiles
No association for the app?If you use the shared fallback, open Profile0 and confirm Profile enabled is checked. For an app-specific profile, go to Profiles → menu → New profile, enter a name, and tap OK. Open the new profile and follow the association steps in the previous row. Zebra FAQ · Zebra Manage Profiles
Is the target profile set to capture the barcode?Enable Barcode Input. Under Scanner selection, choose the scanner or imager you intend to use. The list reflects the devices present or connected. If that barcode type still fails to decode, open Configure scanner settings → Decoders and check the box for the barcode type you need. Zebra Manage Profiles · Zebra Barcode Input

For barcode-type parameters, see the Zebra Decoders guide.

Match the output to the app

How the app expects scansWhat to set in its profile
The app accepts a scan as typed text in a fieldEnable Keystroke Output. It sends the processed scan as a series of keystrokes. Zebra Keystroke Output
The app receives scans through Android intentsIn Intent Output, check Enabled. Match Intent action, Intent category, and Intent delivery in the profile to the app’s intent configuration. If Component Information is configured, check the recipient package. If the signature check is enabled, the app signature must also match for DataWedge to send the intent. Zebra Intent Output

Retest with the same barcode and scanner

  1. In DWDemo, check Input Device and scan with the device you intend to use in the target app. Tap Scan or press the device’s scan trigger. Confirm that the decoded value appears in DWDemo. Zebra Demo App
  2. Bring the target app’s scanning screen to the foreground. With Keystroke Output, scan the same barcode with the same scanner and check the intended field for the barcode text. Zebra Get Started · Zebra Keystroke Output
  3. With Intent Output, scan the same barcode with the same scanner on the target screen and look for the app’s expected response to a scan. If the settings match and the response is missing, check whether the app receives the intent. Zebra Intent Output · Zebra DataWedge Intent Example

Evidence and limits. The steps follow Zebra’s DataWedge 14.3 TechDocs. This guide is not based on hands-on testing. Zebra Get Started

Sources

  1. Frequently Asked Questions
  2. DataWedge Demo App
  3. Get Started
  4. Manage Profiles
  5. DataWedge Settings
  6. Barcode Input
  7. Keystroke Output
  8. Intent Output
  9. DataWedge Intent Example
  10. Decoders

More from the shelf