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

Java Development

Reply
Contributor
Posts: 14
Registered: ‎04-27-2011
My Device: 8900
My Carrier: Idea

How to enable /disable camera pragmatically in BB.

Hi.. As per my requirement I need to enable and disable camera in blackberry's I am new to blackberry I have no idea how to do this. give me some link or code to develop the same.

Thanks in Advance.

Thesimple
Developer
Posts: 16,838
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to enable /disable camera pragmatically in BB.

you can do that using the BES, but there is no API for it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 14
Registered: ‎04-27-2011
My Device: 8900
My Carrier: Idea

Re: How to enable /disable camera pragmatically in BB.

Yes..I know. But i want to do it by My Apps.If it is not possible.Is there any way to  connect my apps to BES for the same.

Thesimple
Developer
Posts: 16,838
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to enable /disable camera pragmatically in BB.

the BES does not have a real interface for that, maybe you could write a server component that changes the setting in the BES datase or something like that, but i very much doubt that it is worth the hassle.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter