<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Disable screenshot Archives - Codeplaners</title>
	<atom:link href="https://codeplaners.com/tag/disable-screenshot/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeplaners.com/tag/disable-screenshot/</link>
	<description>Code Solution</description>
	<lastBuildDate>Fri, 23 Apr 2021 08:15:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>

<image>
	<url>https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-32x32.png</url>
	<title>Disable screenshot Archives - Codeplaners</title>
	<link>https://codeplaners.com/tag/disable-screenshot/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Disable screenshot in android</title>
		<link>https://codeplaners.com/disable-screenshot-in-android/</link>
					<comments>https://codeplaners.com/disable-screenshot-in-android/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Apr 2021 08:15:53 +0000</pubDate>
				<category><![CDATA[Android Studio]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Disable screenshot]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=603</guid>

					<description><![CDATA[<p>In this article, we will show you Disable screenshot in android. This article will give you simple example of Disable screenshot in android. you will learn Disable screenshot in android. You just need to add this line in the activity you can see this example</p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/disable-screenshot-in-android/">Disable screenshot in android</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article, we will show you Disable screenshot in android. This article will give you simple example of Disable screenshot in android. you will learn Disable screenshot in android.</p>
<p>You just need to add this line in the activity</p>
<pre class="brush: java; title: ; notranslate">
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
   WindowManager.LayoutParams.FLAG_SECURE);
</pre>
<p><strong>you can see this example</strong></p>
<pre class="brush: java; title: ; notranslate">
package com.codeplaners;

import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.WindowManager;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
				WindowManager.LayoutParams.FLAG_SECURE);

    }
}
</pre>
<p>The post <a rel="nofollow" href="https://codeplaners.com/disable-screenshot-in-android/">Disable screenshot in android</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/disable-screenshot-in-android/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
