<?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>Enterprise Mobile &#187; HTC</title>
	<atom:link href="http://blog.enterprisemobile.com/category/htc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.enterprisemobile.com</link>
	<description>Blogging about enterprise mobility, mobile devices, security, management and deployments.</description>
	<lastBuildDate>Tue, 17 Jan 2012 19:13: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>Windows Mobile 6.5 &#8211; first upgrades available (Europe only)</title>
		<link>http://blog.enterprisemobile.com/2009/10/windows-mobile-6-5-first-upgrades-available-europe-only/</link>
		<comments>http://blog.enterprisemobile.com/2009/10/windows-mobile-6-5-first-upgrades-available-europe-only/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 19:24:00 +0000</pubDate>
		<dc:creator>tomasv</dc:creator>
				<category><![CDATA[Enterprise mobility]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[6.5]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.enterprisemobile.com/2009/10/windows-mobile-6-5-first-upgrades-available-europe-only/</guid>
		<description><![CDATA[Many Windows Mobile users are waiting eagerly for the release of updates to the 6.5 version. Unfortunately for most US based users it means waiting on their mobile operator (T-M for HTC Touch PRO2, Sprint for HTC Snap, etc.) to release the updates. It is not clear when and how are going to be released [...]]]></description>
			<content:encoded><![CDATA[<p>Many Windows Mobile users are waiting eagerly for the release of updates to the 6.5 version. Unfortunately for most US based users it means waiting on their mobile operator (T-M for HTC Touch PRO2, Sprint for HTC Snap, etc.) to release the updates. It is not clear when and how are going to be released yet as mobile operators usually don’t share their plans and roadmaps. We, based in the US can just hope, call our account managers and keep the pressure on!</p>
<p>However if you live in Europe, where the (re) branding of your phone by mobile operator is much less prevalent you are lucky &#8211; there are 3 updates available right now. See the links below and let me know how you like the new, shine WM 6.5 <img src='http://blog.enterprisemobile.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.htc.com/europe/SupportViewNews.aspx?dl_id=709&amp;news_id=292" target="_blank">HTC Touch Pro 2</a><a href="http://www.htc.com/europe/SupportViewNews.aspx?dl_id=709&amp;news_id=292" target="_blank"></a></p>
<p><img src="http://www.mrmobileblog.com/wp-content/uploads/2009/10/2009101408521.jpg" alt="200910140852.jpg" width="269" height="221" /></p>
<p><a href="http://www.htc.com/europe/SupportViewNews.aspx?dl_id=701&amp;news_id=284" target="_blank">HTC Snap</a><a href="http://www.htc.com/europe/SupportViewNews.aspx?dl_id=701&amp;news_id=284" target="_blank"></a></p>
<p><img src="http://www.mrmobileblog.com/wp-content/uploads/2009/10/200910140852.jpg" alt="200910140852.jpg" width="172" height="299" /></p>
<p><a href="http://www.toshiba-europe.com/mobile/Mobile2Live.aspx?WCI=PageNavigate&amp;WCE=&amp;WCU=%3bLANG%3d1%3bPID%3d417%3bTYP%3d262%3bPNT%3d0%3bSEC%3d3">Toshiba TG01</a></p>
<p><img src="http://www.mrmobileblog.com/wp-content/uploads/2009/10/200910140853.jpg" alt="200910140853.jpg" width="149" height="269" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.enterprisemobile.com/2009/10/windows-mobile-6-5-first-upgrades-available-europe-only/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using HTC Diamond&#8217;s Accelerometer/Sensor SDK from Managed Code</title>
		<link>http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/</link>
		<comments>http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 07:02:24 +0000</pubDate>
		<dc:creator>kdutta</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[g sensor]]></category>

		<guid isPermaLink="false">http://blog.enterprisemobile.com/?p=24</guid>
		<description><![CDATA[When I first got my HTC Touch Diamond a while ago, one of the first things I tried to do was reverse engineer the Sensor API found in HTCSensorSDK.dll. However, anyone who has tried to reverse engineer DLL arguments knows how tedious and painful it can be to create a dummy DLL to intercept valid [...]]]></description>
			<content:encoded><![CDATA[<p>When I first got my HTC Touch Diamond a while ago, one of the first things I tried to do was reverse engineer the Sensor API found in HTCSensorSDK.dll. However, anyone who has tried to reverse engineer DLL arguments knows how tedious and painful it can be to create a dummy DLL to intercept valid arguments, parse through assembly, and inspect random memory pointers. Luckily, I did discover a registry key: HKEY_LOCAL_MACHINE\Software\HTC\HTCSensor\GSensor\EventChanged which let me figure out what the general orientation of the device was; and that was good enough for what I was trying to do.</p>
<p>However Scott, from <a href="http://scottandmichelle.net/scott/comments.html?entry=784">scottandmichelle.net</a>, successfully reverse engineered the HTCSensorSDK.dll. This allows developers to use the g-sensor that is available on the device. Very impressive work on the part of Scott!</p>
<p>Anyhow, I spent a portion of today writing a managed wrapper for HTC&#8217;s Sensor API. You can <a href="http://blog.enterprisemobile.com/wp-content/uploads/2008/07/htcsensorsdk.zip">download it here</a>. The code also includes a sample Teeter-esque type application which allows you to roll a ball around the screen.<span id="more-24"></span></p>
<p>The managed API exposes the HTCGSensor class which allows you to hook to query the state of the g-sensor on the device. It exposes the following methods, properties, and events:</p>
<p><strong>GetGVector</strong><br />
Returns a vector that desribes the direction of gravity/acceleration in relation to the device screen.</p>
<ul>
<li> When the device is face up on a flat surface, this method would return 0, 0, -9.8. The Z value of -9.8 would mean that the acceleration in the opposite direction of the orientation of the screen.</li>
<li> When the device is held standing up, this method would return 0, -9.8, 0. The Y value of -9.8 would mean that the device is accelerating in the direction of the bottom of the screen.</li>
<li> Conversely, if the device is held upside down, this method would return 0, 9.8, 0.</li>
</ul>
<p>The vector returned will have a length measured in the unit meters per second square.</p>
<p>Ideally the when the device is in a motionless state, the vector would be of length 9.8 (the gravitational constant). However, the sensor is not extremely accurate, so this almost never the case.</p>
<p align="center"><a title="Device held standing up" rel="lightbox" href="http://blog.enterprisemobile.com/wp-content/uploads/2008/07/portrait1.jpg"><img src="http://blog.enterprisemobile.com/wp-content/uploads/2008/07/portrait-thumb1.jpg" border="0" alt="portrait" width="204" height="204" /></a> <a title="Device face up on a flat surface" rel="lightbox" href="http://blog.enterprisemobile.com/wp-content/uploads/2008/07/faceup1.jpg"><img src="http://blog.enterprisemobile.com/wp-content/uploads/2008/07/faceup-thumb1.jpg" border="0" alt="faceup" width="204" height="204" /></a></p>
<p><strong>Orientation<br />
</strong>Retrieves the current orientation of the device, returning one of the following enums: Landscape, ReverseLandscape, Portrait, ReversePortrait, FaceDown, FaceUp.</p>
<p><strong>OrientationChanged<br />
</strong>This event fires whenever the device&#8217;s orientation changes.</p>
<p>Enjoy, and let me know if you find any bugs!</p>
<p>Koushik Dutta<br />
Software Engineer<br />
<a href="http://www.koushikdutta.com">www.koushikdutta.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
	</channel>
</rss>

