Disable Screenshot in Android

1 vote · 0 comments

disable the user from taking screen shot of your activity

raw ·
copy
· download
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,WindowManager.LayoutParams.FLAG_SECURE);

Be the first to comment

Sign in with OpenID