<?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>Android2EE sur DVP &#187; desactivation</title>
	<atom:link href="https://blog.developpez.com/android2ee-mathias-seguy/ptag/desactivation/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.developpez.com/android2ee-mathias-seguy</link>
	<description>May Android be with you! Formation, Expertise, Consulting Android.</description>
	<lastBuildDate>Thu, 22 Dec 2016 10:05:44 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Comment désactiver le mode veille ?o?</title>
		<link>https://blog.developpez.com/android2ee-mathias-seguy/p10508/android-2/le-savoir-faire/comment_desactiver_le_mode_veille_o</link>
		<comments>https://blog.developpez.com/android2ee-mathias-seguy/p10508/android-2/le-savoir-faire/comment_desactiver_le_mode_veille_o#comments</comments>
		<pubDate>Wed, 16 Nov 2011 16:41:49 +0000</pubDate>
		<dc:creator><![CDATA[MathiasSeguy]]></dc:creator>
				<category><![CDATA[Le savoir faire]]></category>
		<category><![CDATA[Android2EE]]></category>
		<category><![CDATA[desactivation]]></category>
		<category><![CDATA[Formation Android]]></category>
		<category><![CDATA[mode veille]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Bonjour C&#8217;est assez simple. Il faut utiliser l&#8217;objet PowerManager pour récupérer l&#8217;objet PowerService puis l&#8217;objet PowerManager.WaveLock. Ensuite il faut demander à ce dernier de verrouiller le mode veille. Ainsi dans votre activité, il faut déclarer les attributs suivants: /** &#160;* The WaveLock object &#160;*/ private PowerManager.WakeLock dimWaveLock; /** &#160;* The tag to obtain the wave lock &#160;*/ private static final String WAVE_LOCK_TAG = &#34;MyLightLockTag&#34;; Dans votre méthode onResume, il faut initialiser et acquérir le waveLock: [&#8230;]]]></description>
		<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
