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

Native Development

Reply
Highlighted
Developer
Posts: 65
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)
My Carrier: MY COMPANY

disabling the system dialog when called take screenshot programmatically in cpp file

[ Edited ]

Hello All,

            I want to disable system dialog which ask me,to take screenshot or not in blackberry 10.2.

So I just want to disable this permission. so that we take screenshot without any systemdialog.

 

Thank you,

Ankur

BlackBerry Development Advisor
Posts: 50
Registered: ‎09-27-2012
My Device: Passport
My Carrier: Bell

Re: disabling the system dialog when called take screenshot programmatically in cpp file

Have you try using screem_read_window() call?

 

https://developer.blackberry.com/native/reference/core/screen_libref/topic/screen_read_window.html

----------------------------------------------------
Hope this was helpful. Happy Coding!
EK @echotown
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: disabling the system dialog when called take screenshot programmatically in cpp file

I've often wanted to screem (sic) when invoking BB10 api's.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.