<?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>Some More Bytes &#187; Hacks</title>
	<atom:link href="http://somemorebytes.com/wp/index.php/tag/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://somemorebytes.com/wp</link>
	<description>in the binary maze...</description>
	<lastBuildDate>Tue, 22 Mar 2011 19:17:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Sleep timer for Windows Media Player (Mobile)</title>
		<link>http://somemorebytes.com/wp/index.php/2010/07/sleep-timer-for-windows-media-player-mobile/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/07/sleep-timer-for-windows-media-player-mobile/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:39:57 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Windows Mobile]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=590</guid>
		<description><![CDATA[Sleep timer for Windows Media Player (Windows Mobile)]]></description>
			<content:encoded><![CDATA[<p>Now that I am using a <a href="http://somemorebytes.com/wp/index.php/2010/07/hacking-a-lg-gm750-layla/" target="_blank">Windows Mobile based device</a>, it is really annoying that the media player does not have a sleep timer included.  I noticed that many years ago in an iPaq PDA, and I see that nothing has changed.</p>
<p>When I go to sleep, I start the Windows Media Player usually with a large playlist, or even the loop function activated. I do not want, however, the device playing all night long wasting my battery&#8230; Well, it&#8217;s the very definition of Sleep Timer, ain&#8217;t it?</p>
<p>I put together a couple of lines of code, and made this **extremely basic** sleep timer. I did something similar many years ago for the iPaq, and now I&#8217;ve don it again. I spent more time trying to make the cab installer that the code itself:D. The code is almost worthless to put here, but I&#8217;ll do it just in case someone wants to modify it to start a different process other than the Media Player.</p>
<p>The &#8220;Suspend the device&#8221; function, calls the SetSystemPowerState API which according to the MSDN its effect may vary on each device, as it relies on some OEM power management implementation. It will not be necessary in most of modern devices, but I included it just in case.</p>
<a href="http://somemorebytes.com/wp/wp-content/plugins/download-monitor/download.php?id=9" title="Sleep Timer Installer">Sleep Timer Installer</a> </br></p>
<p><a href="http://somemorebytes.com/wp/wp-content/plugins/download-monitor/download.php?id=10" title="Sleep Timer Source Code">Sleep Timer Source Code</a>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/07/sleep-timer-for-windows-media-player-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  somemorebytes.com/wp/index.php/tag/hacks/feed/ ) in 0.65275 seconds, on May 20th, 2012 at 1:30 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 20th, 2012 at 2:30 pm UTC -->
