<?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>IT Wizard &#187; orientation</title>
	<atom:link href="http://www.itwizard.ro/tag/orientation/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itwizard.ro</link>
	<description>embedded / mobile phone development</description>
	<lastBuildDate>Wed, 02 Dec 2009 14:21:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get the orientation of the phone</title>
		<link>http://www.itwizard.ro/get-the-orientation-of-the-phone-116.html</link>
		<comments>http://www.itwizard.ro/get-the-orientation-of-the-phone-116.html#comments</comments>
		<pubDate>Tue, 25 Aug 2009 12:47:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[android java]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[orientation]]></category>

		<guid isPermaLink="false">http://www.itwizard.ro/?p=116</guid>
		<description><![CDATA[(Android phone &#8211; how-to/example)
If your application is dependent on the orientation of the phone, you may like to take a look at android.view.OrientationEventListener package.
To create the OrientationListener you will need the current activity Context.
private void CreateOrientationListener(Context context)
{
&#160;&#160; m_OEListener = new OrientationEventListener (context, SensorManager.SENSOR_DELAY_UI)
&#160;&#160; {
&#160;&#160; public void onOrientationChanged (int orientation)
&#160;&#160; {
&#160;&#160; // in orientation you will [...]]]></description>
		<wfw:commentRss>http://www.itwizard.ro/get-the-orientation-of-the-phone-116.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
