need more information.
Does the scanner come on? Does it scan a barcode? ...
do you use the correct syntax for the DefaultMetaTags? I'm using this tag with the following syntax:
<MetaTag value="Battery~Left:405;Top:7;Layout:Left;color:#009ee0;visibility:hidden" />
<MetaTag value="Signal~Left:445;Top:7;Layout:Right;Color:#ffffff;Visibility:hidden" />
And my second hint: In Version 2.x the scanner had to be enabled only once when the following configuration (in config.xml) is used:
I enable the scanner only once in startup procedure of my app. So the scanner had not to be enabled on every window. Please see also https://developer.motorolasolutions.com/community/rhomobile-suite/docs/developer-reference/blog/2012/12/17/rhoelements-performance-improvements-4 and https://developer.motorolasolutions.com/community/rhomobile-suite/docs/developer-reference/blog/2013/02/07/a-quicker-way-to-enabledisable-bar-code-scanning
Thanks Klaus, I didn't know that the meta syntax were different. I just move them from the page to the config.
1 of 1 people found this helpful
Be careful putting stuff in the DefaulMetaTags area as this code is executed on every page load and if the setting is persistent then you are doing the command for not after the first page load.