Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 4
Registered: ‎08-30-2012
My Device: 8900
My Carrier: Vodafone
Accepted Solution

BES 4.1.7 OTA WebWorks Application - Camera Problem

We're building a webworks application, using the webworks sdk 2.3.1 for smartphone OS devices.

 

If we push the application manually from a dev machine to a phone using a usb cable we are able to take photos and stream the photo back to the app.  Our problem is that if we deploy the application from a bes server to a phone OTA we are unable to use the camera (Nothing happens - the camera app is not opened) 

 

Usually when we manually push it to a phone we are presented with an advanced permissions dialog to allow the camera to be used by the app, this doesn't happen when deployed using bes.  This suggests that it could be a problem with the IT Policy, has anybody had a similar problem and found a solution?

BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: BES 4.1.7 OTA WebWorks Application - Camera Problem

Since you're dealing with a BES I was also going to mention that it may be an IT Policy getting in the way.  

New Contributor
Posts: 4
Registered: ‎08-30-2012
My Device: 8900
My Carrier: Vodafone

Re: BES 4.1.7 OTA WebWorks Application - Camera Problem

Thanks for your reply.

 

I've done a bit more searching and it appears to be Input Simulation which is causing our problem.  When loaded on to the phone manually I can look at the app permissions and change Input Simulation to Allowed.  If I do the same but deploy the application using BES I am unable to change the Input Simulation permission on the phone.

 

Does anyone know where this can be set in the IT policy?

 

 

Highlighted
New Contributor
Posts: 4
Registered: ‎08-30-2012
My Device: 8900
My Carrier: Vodafone

Re: BES 4.1.7 OTA WebWorks Application - Camera Problem

Problem Solved.

 

In order to allow the camera to work from within our app we needed to set Event Injection to Allowed in Default Application Control Policies.

BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: BES 4.1.7 OTA WebWorks Application - Camera Problem

Cool.  Thanks for the update!