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 <[email protected]> wrote:
> On Thu, Jan 12, 2012 at 10:13 AM, Tom Uhl <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Romain Guy
Android framework engineer
[email protected]

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

Reply via email to