DataWedge Broadcast Intents are not being delivered

R Ronnie Overby 3 years 5 months ago
124 3 0

My datawedge version is 6.2.23 on Android 6.0.1 running on TC700K.
I have created a profile in DW that should output broadcast intents, but my app never receives them.
I have tried various combinations of action/category being specified in the intent output:
- Action Only
- Action + Category
My app is built w/ Xamarin and is programmed to receive the broadcasts via a context registered broadcast receiver. I have verified that my app receives the intents when I broadcast them via ADB.
Thoughts?

Please Register or Login to post a reply

3 Replies

R Ronnie Overby

I was using the wrong keys for accessing the extras! Thanks!

R Ronnie Overby

- My custom DW profile does have the app association: CHECK
- Double checked that intent action is configured exactly as app expects CHECK
- Have tried with/without intent category CHECK
- DataWedge is enabled (my custom profile is enabled) CHECK
- Scanning laser shines only while my profile is enabled and while my app is in view CHECK
I'll have a look at your example app. Hopefully I find something.

D Darryn Campbell

There are a few possibilities:
- Your application is not associated with the DW profile you are modifying (or you are not modifying the default profile)
- DataWedge is not configured correctly to send Intents 
- DataWedge is disabled
I suggest you take a look at a sample app I put together that covers this scenario (https://github.com/darryncampbell/DataWedge-Intent-Example-3) the ReadMe.md also includes screenshots showing how DataWedge should be configured.
Hope that helps

CONTACT
Can’t find what you’re looking for?