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
Barcode scanning with ProfoundUI Mobile Client
-
- Profound User
- Posts: 20
- Joined: Fri Jul 13, 2012 3:25 pm
- First Name: Doug
- Last Name: Lindahl
- Company Name: Anda Pharmaceuticals
- Phone: 954-217-4195
- Address 1: 2915 Weston Rd
- City: Weston
- State / Province: Florida
- Zip / Postal Code: 33331
- Country: United States
- Contact:
- Emily
- Profound Logic Staff Member
- Posts: 89
- Joined: Tue Jun 21, 2016 8:30 am
- First Name: Emily
- Last Name: Seage
- Company Name: Profound Logic
- Contact:
Re: Barcode scanning with ProfoundUI Mobile Client
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!
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!
Emily Seage
Support Team Lead
Support Team Lead
-
- Profound User
- Posts: 20
- Joined: Fri Jul 13, 2012 3:25 pm
- First Name: Doug
- Last Name: Lindahl
- Company Name: Anda Pharmaceuticals
- Phone: 954-217-4195
- Address 1: 2915 Weston Rd
- City: Weston
- State / Province: Florida
- Zip / Postal Code: 33331
- Country: United States
- Contact:
Re: Barcode scanning with ProfoundUI Mobile Client
Thanks Emily. That does help.
Who is online
Users browsing this forum: No registered users and 3 guests