Page 1 of 1

Barcode scanning with ProfoundUI Mobile Client

Posted: Thu Sep 13, 2018 10:25 am
by Doug
I have an application deployed on ProfoundUI Mobile Client that does some barcode scanning. There are two issues that I've run into that I haven't been able to solve.

1. The orientation changes as the device moves. I'd like to lock it in landscape mode. I found this in the documentation http://www.profoundlogic.com/docs/displ ... rientation but I'm not sure where to find the AndroidManifest.xml file. Is it on the Android device or the IFS?

2. I'd like to prevent the Android keyboard from popping up on input capable fields. The scanner will enter this data.

Thanks

Re: Barcode scanning with ProfoundUI Mobile Client

Posted: Thu Sep 13, 2018 2:18 pm
by Emily
Hi Doug,

1) This option for disabling device orientation is meant to be used for mobile applications that are created using PhoneGap. The Mobile Client is meant to be a generic app that's usable by all of our customers, so we use common settings that most customers prefer. Controlling the device orientation is something that needs to be configured when creating the application itself. So, in order to disable device orientation, you will need to generate your own application using PhoneGap. We have more information on using Profound UI with PhoneGap in our documentation here: http://www.profoundlogic.com/docs/displ ... h+PhoneGap.

2) It's important to note that the keyboard that Android uses is not controlled by Profound UI, it is automatically triggered by the Android OS. Because of this, we do not have a setting or a configuration option that will stop the keyboard from showing when you place focus into an input capable field. You may be able to accomplish this by using some custom JavaScript, however. You should be able to find some examples of this online -- here are a few links that might help get you started:

https://stackoverflow.com/questions/419 ... eld-active
https://stackoverflow.com/questions/833 ... javascript
https://stackoverflow.com/questions/109 ... rd-to-hide

I hope that this helps!

Re: Barcode scanning with ProfoundUI Mobile Client

Posted: Fri Sep 14, 2018 5:36 pm
by Doug
Thanks Emily. That does help.