Android - Disable Screen Capture
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // To disable user from taking the screen shot of the activity getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,WindowManager.LayoutParams.FLAG_SECURE); }
Comments
Post a Comment