Starting barcode scanner programmatically

Hi Team,

Is there a way to start the scanner (soft trigger) from java code. This is from an application using Native Java for Android. The Datawedge profile is active for the Activity and I can receive Intents from it with the Decoded value but I want to start the scanner using a button on the screen.

 

Please advice.

Regards,

 

Alex.