I am currently converting some RhoElements apps written to use the device runtime frameworks (RhoElements 1.2). I am trying to convert them to native install-able packages using RhoMobile suite. I am having a hard time determining if I can still use the APD and/or scanner objects. I realize that in the runtimes these objects work like drivers, and they may not be available in all devices. When I run the software in the suite, I get an error saying "ReferenceError: Can't find variable: apd". Is there a way to turn this functionality on? If not, what are the alternatives?
Thanks in advance,
I have not dont it but, yes you should be able to use APD but it is only available on Motorola devices.
You must make sure in your build that you are using the Moto Webkit and also have the APD preload (PreloadLegacyAPD) set in your config.xml.