<?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"
	>

<channel>
	<title>Digital Agua's Blog</title>
	<atom:link href="http://blog.digitalagua.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.digitalagua.com</link>
	<description>We breath life into ideas</description>
	<pubDate>Tue, 15 Jul 2008 20:25:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Accelerometer x,y,z based on iPhone position</title>
		<link>http://blog.digitalagua.com/2008/07/15/accelerometer-xyz-based-on-iphone-position/</link>
		<comments>http://blog.digitalagua.com/2008/07/15/accelerometer-xyz-based-on-iphone-position/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 20:25:03 +0000</pubDate>
		<dc:creator>James</dc:creator>
		
		<category><![CDATA[iPhone Development]]></category>

		<guid isPermaLink="false">http://blog.digitalagua.com/?p=13</guid>
		<description><![CDATA[We were working with the accessing Accelerometer on the iPhone and needed to figure out what readings we were getting depending on what position the iPhone was in.
This is far from scientific. These readings are taken while the iPhone was stationary and under normal gravity.  Due to the lack of even a crude level [...]]]></description>
			<content:encoded><![CDATA[<p>We were working with the accessing Accelerometer on the iPhone and needed to figure out what readings we were getting depending on what position the iPhone was in.</p>
<p>This is far from scientific. These readings are taken while the iPhone was stationary and under normal gravity.  Due to the lack of even a crude level at the time of the test, some of these are out best guess. I will conduct some more accurate experiments later. These should still be helpful.</p>
<p> </p>
<p><img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-above.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.00<br />
-1.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">1.00<br />
0.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.00<br />
1.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">-1.00<br />
0.00<br />
0.00</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-000.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
-1.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
-1.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
-1.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
-1.00<br />
0.00</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-045.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.75<br />
- 0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.75<br />
0.75</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">- 0.75<br />
- 0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
- 0.75<br />
- 0.75</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-090.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">1.00<br />
0.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.00<br />
1.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">-1.00<br />
0.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.00<br />
-1.00</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-135.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.75<br />
0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.75<br />
0.75</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">- 0.75<br />
0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.75<br />
- 0.75</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-180.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
1.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
1.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
1.00<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
1.00<br />
0.00</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-225.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">- 0.75<br />
0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.0<br />
0.75<br />
- 0.75</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.75<br />
0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
0.75<br />
0.75</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-270.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.0<br />
0.0<br />
-1.0</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.0<br />
0.0<br />
-1.0</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.0<br />
0.0<br />
1.0</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.0<br />
0.0<br />
1.0</td>
<td> </td>
</tr>
</tbody>
</table>
<hr />
<img class="alignnone size-full wp-image-23" title="iPhone View From Above" src="http://blog.digitalagua.com/wp-content/uploads/2008/07/iphone-accelerometer-315.png" alt="" width="500" height="108" /></p>
<table style="font-size:10px;" border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td width="35"> </td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">- 0.75<br />
- 0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
- 0.75<br />
- 0.75</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.75<br />
- 0.75<br />
0.00</td>
<td width="50" align="right">x =<br />
y =<br />
z =</td>
<td width="35" align="right">0.00<br />
- 0.75<br />
0.75</td>
<td> </td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitalagua.com/2008/07/15/accelerometer-xyz-based-on-iphone-position/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Calculate Distance Between Two Points in Objective-C</title>
		<link>http://blog.digitalagua.com/2008/06/30/calculate-distance-between-two-points-in-objective-c/</link>
		<comments>http://blog.digitalagua.com/2008/06/30/calculate-distance-between-two-points-in-objective-c/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 19:10:57 +0000</pubDate>
		<dc:creator>James</dc:creator>
		
		<category><![CDATA[Objective-C]]></category>

		<category><![CDATA[Graphics]]></category>

		<category><![CDATA[Trigonometry]]></category>

		<guid isPermaLink="false">http://blog.digitalagua.com/?p=9</guid>
		<description><![CDATA[How to calculate the distance between two points.
 CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
{
CGFloat dx = point2.x - point1.x;
CGFloat dy = point2.y - point1.y;
return sqrt(dx*dx + dy*dy );
};

]]></description>
			<content:encoded><![CDATA[<p>How to calculate the distance between two points.</p>
<p><code> CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)<br />
{<br />
CGFloat dx = point2.x - point1.x;<br />
CGFloat dy = point2.y - point1.y;<br />
return sqrt(dx*dx + dy*dy );<br />
};</code></p>
<p><a href="http://blog.digitalagua.com/wp-content/uploads/2008/06/distance.png"><img class="alignnone size-medium wp-image-11" title="distance" src="http://blog.digitalagua.com/wp-content/uploads/2008/06/distance.png" alt="" width="300" height="236" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitalagua.com/2008/06/30/calculate-distance-between-two-points-in-objective-c/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Convert Degrees to Radians, Radians to Degrees in Objective-C</title>
		<link>http://blog.digitalagua.com/2008/06/30/how-to-convert-degrees-to-radians-radians-to-degrees-in-objective-c/</link>
		<comments>http://blog.digitalagua.com/2008/06/30/how-to-convert-degrees-to-radians-radians-to-degrees-in-objective-c/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 18:48:35 +0000</pubDate>
		<dc:creator>James</dc:creator>
		
		<category><![CDATA[Objective-C]]></category>

		<category><![CDATA[Graphics]]></category>

		<category><![CDATA[Trigonometry]]></category>

		<guid isPermaLink="false">http://blog.digitalagua.com/?p=12</guid>
		<description><![CDATA[CGFloat DegreesToRadians(CGFloat degrees)
{
return degrees * M_PI / 180;
};

CGFloat RadiansToDegrees(CGFloat radians)
{
return radians * 180 / M_PI;
};

]]></description>
			<content:encoded><![CDATA[<p><code>CGFloat DegreesToRadians(CGFloat degrees)<br />
{<br />
return degrees * M_PI / 180;<br />
};<br />
</code></p>
<p><code>CGFloat RadiansToDegrees(CGFloat radians)<br />
{<br />
return radians * 180 / M_PI;<br />
};<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitalagua.com/2008/06/30/how-to-convert-degrees-to-radians-radians-to-degrees-in-objective-c/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Useful Trigonometry Functions in Objective-C</title>
		<link>http://blog.digitalagua.com/2008/06/30/useful-trigonometry-functions-in-objective-c/</link>
		<comments>http://blog.digitalagua.com/2008/06/30/useful-trigonometry-functions-in-objective-c/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 18:10:25 +0000</pubDate>
		<dc:creator>James</dc:creator>
		
		<category><![CDATA[Objective-C]]></category>

		<category><![CDATA[Graphics]]></category>

		<category><![CDATA[Trigonometry]]></category>

		<guid isPermaLink="false">http://blog.digitalagua.com/?p=10</guid>
		<description><![CDATA[During our latest project, we faced a number of problems that Trigonometry solved rather nicely. I found a number of Trigonometry resources, but not any that focused on how to implement these concepts in Objective-C. We thought it would be good to post some of the more helpful functions.
]]></description>
			<content:encoded><![CDATA[<p>During our latest project, we faced a number of problems that Trigonometry solved rather nicely. I found a number of Trigonometry resources, but not any that focused on how to implement these concepts in Objective-C. We thought it would be good to post some of the more helpful functions.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitalagua.com/2008/06/30/useful-trigonometry-functions-in-objective-c/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mobile is finally ready</title>
		<link>http://blog.digitalagua.com/2008/03/23/mobile-is-finally-ready/</link>
		<comments>http://blog.digitalagua.com/2008/03/23/mobile-is-finally-ready/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 04:50:43 +0000</pubDate>
		<dc:creator>James</dc:creator>
		
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://blog.digitalagua.com/2008/03/23/mobile-is-finally-ready/</guid>
		<description><![CDATA[Everybody has known that the Internet has been going mobile for a long time. It is obvious for all those that have been around or those who think that it would be cool to buy movie tickets from the theater parking lot. It’s the next obvious step along the path to something very different. It’s [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody has known that the Internet has been going mobile for a long time. It is obvious for all those that have been around or those who think that it would be cool to buy movie tickets from the theater parking lot. It’s the next obvious step along the path to something very different. It’s the reason I started my company.</p>
<p>Realistically, until last spring the technology just hasn’t been there. I have had a couple of devices, but none of them compare to the iPhone. Don’t get me wrong, the GPS, 3G, camera enable Windows CE or Blackberry device does have that techno-geek appeal that is hard to resist, but Apple hit on some thing good. The made everything easy to use. I have seen the typically technophobic, tooling around the Internet on their iPhone’s. Apple has made the whole mobile experience accessible. Once iPhone gets its 3G and GPS on there will be no stopping the cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitalagua.com/2008/03/23/mobile-is-finally-ready/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PhotoLibrary and PhotoAlbum</title>
		<link>http://blog.digitalagua.com/2008/03/03/photolibrary-and-photoalbum/</link>
		<comments>http://blog.digitalagua.com/2008/03/03/photolibrary-and-photoalbum/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 19:07:32 +0000</pubDate>
		<dc:creator>James</dc:creator>
		
		<category><![CDATA[Investigations]]></category>

		<guid isPermaLink="false">http://blog.digitalagua.com/2008/04/02/photolibrary-and-photoalbum/</guid>
		<description><![CDATA[We want to create a photo album that isn&#8217;t the Camera Roll, and add photos to it. Then have the ability to sync it with iTunes and download the photos to your computer.
what we&#8217;ve found
04-02-2008
It appears that you can create an album through the toolchain MLPhotoLibrary, but we have been unable to get photos into [...]]]></description>
			<content:encoded><![CDATA[<p>We want to create a photo album that isn&#8217;t the Camera Roll, and add photos to it. Then have the ability to sync it with iTunes and download the photos to your computer.</p>
<p>what we&#8217;ve found</p>
<p>04-02-2008</p>
<p>It appears that you can create an album through the toolchain MLPhotoLibrary, but we have been unable to get photos into it. It looks like it is running a SQLLite database, but we have been unable to discover much more than that.</p>
<p>03-05-2008</p>
<p>Adding photos to the Camera Roll is very straight forward, although we have been unable to add anything other than TIFFs and JPGs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitalagua.com/2008/03/03/photolibrary-and-photoalbum/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
