<?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>Chris Carey &#187; iPhone</title>
	<atom:link href="http://chriscarey.com/wordpress/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://chriscarey.com/wordpress</link>
	<description>Software Developer San Francisco</description>
	<lastBuildDate>Sun, 08 Jan 2012 03:14:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cydia crashing on launch. How to fix</title>
		<link>http://chriscarey.com/wordpress/2010/07/22/cydia-crashing-on-launch-how-to-fix/</link>
		<comments>http://chriscarey.com/wordpress/2010/07/22/cydia-crashing-on-launch-how-to-fix/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 20:38:59 +0000</pubDate>
		<dc:creator>Chris Carey</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://chriscarey.com/wordpress/?p=547</guid>
		<description><![CDATA[Delete all files except &#8216;partial&#8217; in /root/private/var/lib/apt/lists Delete all files in /private/var/lib/dpkg/updates]]></description>
			<content:encoded><![CDATA[<p>Delete all files except &#8216;partial&#8217; in /root/private/var/lib/apt/lists<br />
Delete all files in /private/var/lib/dpkg/updates</p>
]]></content:encoded>
			<wfw:commentRss>http://chriscarey.com/wordpress/2010/07/22/cydia-crashing-on-launch-how-to-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Triptych</title>
		<link>http://chriscarey.com/wordpress/2009/11/03/iphone-trifecta/</link>
		<comments>http://chriscarey.com/wordpress/2009/11/03/iphone-trifecta/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 02:41:14 +0000</pubDate>
		<dc:creator>Chris Carey</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Painting]]></category>

		<guid isPermaLink="false">http://chriscarey.com/wordpress/2009/11/03/iphone-trifecta/</guid>
		<description><![CDATA[Painted these a few months ago and realized I forgot to post them here.]]></description>
			<content:encoded><![CDATA[<p>Painted these a few months ago and realized I forgot to post them here.</p>
<p><a href="http://chriscarey.com/wordpress/wp-content/uploads/2009/11/l_2048_1536_DD32B8DE-F0EC-4621-BD72-3ECD552CBB5C.jpeg"><img src="http://chriscarey.com/wordpress/wp-content/uploads/2009/11/l_2048_1536_DD32B8DE-F0EC-4621-BD72-3ECD552CBB5C.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://chriscarey.com/wordpress/2009/11/03/iphone-trifecta/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to modify iPhone Calendar colors on Jailbroken iPhone</title>
		<link>http://chriscarey.com/wordpress/2009/02/10/how-to-modify-iphone-calendar-colors-with-sqlite3/</link>
		<comments>http://chriscarey.com/wordpress/2009/02/10/how-to-modify-iphone-calendar-colors-with-sqlite3/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 21:25:19 +0000</pubDate>
		<dc:creator>Chris Carey</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://chriscarey.com/blog/?p=353</guid>
		<description><![CDATA[After installing Google Sync for iPhone, I had a problem that the iPhone Calendar colors did not match the colors of the calendars in Google Calendar. I am republishing a post by michael.ansel. I found a post by him to be the best way to change calendar colors. One thing he failed to mention in [...]]]></description>
			<content:encoded><![CDATA[<p>After installing Google Sync for iPhone, I had a problem that the iPhone Calendar colors did not match the colors of the calendars in Google Calendar.</p>
<p>I am republishing a post by <a class="lCSS" href="http://www.google.com/support/forum/p/Google%20Mobile/user?userid=06411724200391112306&amp;hl=en">michael.ansel</a>. I found a post by him to be the best way to change calendar colors.</p>
<p>One thing he failed to mention in the following steps is to install sqlite3 which is not installed by default. On your jailbroken iPhone, launch Cydia and install <strong>sqlite3</strong>.</p>
<p>Then proceed with these steps&#8230;</p>
<p><span id="more-353"></span>&#8211;</p>
<p>If you have a jailbroken iPhone, you can SSH in and manually modify the colors in the SQLite3 database. Because the colors are stored simply as RGB values, you can also specify any color you want instead of being limited to the standard Red/Orange/Blue/Green/Purple.</p>
<p>Here are my notes for anyone else compelled to do this (its been working wonderfully for me!). One side note, you have to exit Calendar.app and then reopen it to see the color changes. Enjoy!</p>
<p>Disclaimer: If you even think about doing anything contained herein, your dog will die, your girlfriend will leave you, your phone will explode, and I will not be held responsible. I will however be glad to answer politely worded requests for assistance.<br />
###################</p>
<pre class="brush: bash; title: ; notranslate">
$ cd /var/mobile/Library/Calendar
$ sqlite3 Calendar.sqlitedb

sqlite&gt; select title,color_r,color_g,color_b from Calendar; -- List calendars and current colors
Default|-1|-1|-1
Michael Ansel|181|0|13
School-Important|47|141|0
School-Studying|15|77|140
School-Class|229|98|0

sqlite&gt; update Calendar set color_r=181, color_g=0, color_b=13 where title = 'School-Important'; -- Red
sqlite&gt; update Calendar set color_r=229, color_g=98, color_b=0 where title = 'School-Studying'; -- Orange
sqlite&gt; update Calendar set color_r=103, color_g=10, color_b=108 where title = 'School-Class'; -- Purple
sqlite&gt; update Calendar set color_r=15, color_g=77, color_b=140 where title = 'Michael Ansel'; -- Blue

sqlite&gt; select title,color_r,color_g,color_b from Calendar; -- List calendars and current colors
Default|-1|-1|-1
Michael Ansel|15|77|140
School-Important|181|0|13
School-Studying|229|98|0
School-Class|103|10|108

sqlite&gt; .quit

$ exit
</pre>
<p>###################</p>
<p>RGB Values for the Standard Colors</p>
<p>Red = (181,0,13)<br />
Orange = (229,98,0)<br />
Green = (47,141,0)<br />
Blue = (15,77,140)<br />
Purple = (103,10,108)</p>
<p>&#8212;&#8212;&#8212;-<br />
</code></p>
<p>Here are the values I use:</p>
<p>sqlite> update Calendar set color_r=181, color_g=0, color_b=13 where title = 'Important'; — Red<br />
sqlite> update Calendar set color_r=229, color_g=98, color_b=0 where title = 'Work'; — Orange<br />
sqlite> update Calendar set color_r=47, color_g=141, color_b=64 where title = 'School'; — Green<br />
sqlite> update Calendar set color_r=196, color_g=168, color_b=131 where title = 'Health'; — Brown<br />
sqlite> update Calendar set color_r=15, color_g=77, color_b=140 where title = 'Chris Carey'; — Blue</p>
<p>update Calendar set color_r=181, color_g=0, color_b=13 where title = 'Important';<br />
update Calendar set color_r=229, color_g=98, color_b=0 where title = 'Work';<br />
update Calendar set color_r=47, color_g=141, color_b=64 where title = 'School';<br />
update Calendar set color_r=196, color_g=168, color_b=131 where title = 'Health';<br />
update Calendar set color_r=15, color_g=77, color_b=140 where title = 'Chris Carey';</p>
]]></content:encoded>
			<wfw:commentRss>http://chriscarey.com/wordpress/2009/02/10/how-to-modify-iphone-calendar-colors-with-sqlite3/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

