Add this flag to your window in onCreate():
http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE

On Thu, Jan 12, 2012 at 1:48 AM, Michael Banzon <mich...@banzon.dk> wrote:
> On Thu, Jan 12, 2012 at 10:13 AM, Tom Uhl <tuhl...@gmail.com> wrote:
>> Is there a way for an app to disable the new built-in-screenshot
>> function in ICS?
>
> I don't think there is. If there is - I'm guessing you're trying to
> "protect" something - please keep in mind that the user can also grab
> screenshots through USB-debugging or through HDMI.
>
> --
> Michael Banzon
> http://michaelbanzon.com/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Romain Guy
Android framework engineer
romain...@android.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to