How do I prevent screen video recording in android application?
<p>I want to prevent my android application from <strong>screen video recorder</strong>.</p>

<p>I tried  this  but this code prevent only screen shot not video recorder.</p>

<p><code>getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,WindowManager.LayoutParams.FLAG_SECURE);</code></p>