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

Reply
Contributor
mudassirmir83
Posts: 11
Registered: ‎09-09-2010
My Device: bold
Accepted Solution

File download and camera not working in work profile

[ Edited ]

Do we need any special permission for an app to work in work profile, we have developed a webworks application, and when we tested it in personal profile, it is working fine in all the devices (Q10,Z10 and Q5).

 but the same application is not working on work profile.

 

we have given all the permissions in config file.

 

<access subdomains="true" uri="file:///accounts/"></access>
<access subdomains="true" uri="file:///accounts/100/shared/camera/"></access>

<rim:smileytongue:ermissions>
<rim:smileytongue:ermit>access_shared</rim:smileytongue:ermit>
<rim:smileytongue:ermit>use_camera</rim:smileytongue:ermit>
</rim:smileytongue:ermissions>

in work profile

1)it is not able to download file.

2)camera is not getting launched.

 

can anyone help me in this please.

 

regards

Mudassir Mir

BlackBerry Development Advisor
twindsor
Posts: 834
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: File download and camera not working in work profile

The work profile doesn't have access to the shared folder, and it has no camera application installed by default.

 

The camera issue you can work around by deploying a camera replacement to the work partition. There is one called CloudyPics that we offer in open source which will work: https://github.com/blackberry/Cascades-Community-Samples/tree/master/CloudyPics

Tim Windsor
Open Source Technical Lead