DataWedge Broadcast Intents are not being delivered

Tags: 

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?

Darryn Campbell
DataWedge Broadcast Intents are not being delivered

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

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Ronnie Overby
DataWedge appears to be correctly configured

- 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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Ronnie Overby
Example App Revealed Problem

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments