In my app, I need to scan bar code in multiple activities. I created a profile in Data Wedge & listed my app/activities in that profile. Now, let's say I have two activities where I need to scan bar code: Activity A & Activity B. In Activity A, if I press the scan button, a dialog pops up with two options, asking me to choose from Activity A & B to complete the action. If I set the action for Activity A, then it works fine for Activity A, not for Activity B.
I want to create a single profile for two activities & maybe configure it from my code so that Data Wedge can understand from which activity it got the call & behave accordingly. Is it possible? Any idea how to implement it?