<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Chris Hardie &#187; iphone</title>
	<atom:link href="http://www.chrishardie.com/blog/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrishardie.com</link>
	<description>Personal Website and Blog for James Christopher Hardie</description>
	<lastBuildDate>Tue, 10 Apr 2012 02:20:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Notifo vs. Prowl for iPhone push notifications</title>
		<link>http://www.chrishardie.com/2010/12/notifo-vs-prowl-for-iphone-push-notifications/</link>
		<comments>http://www.chrishardie.com/2010/12/notifo-vs-prowl-for-iphone-push-notifications/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 21:11:35 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[notifo]]></category>
		<category><![CDATA[prowl]]></category>
		<category><![CDATA[push notifications]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://www.chrishardie.com/?p=1048</guid>
		<description><![CDATA[I asked on Twitter yesterday if anyone would like to compare the &#8220;Notifo&#8221; service to the &#8220;Prowl&#8221; application for handling push notifications to iPhone and other mobile devices.  No one answered, and so here&#8217;s my brief rundown comparing the two. If you don&#8217;t already know about push notifications, a brief primer: they&#8217;re basically just like [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Notifo : application de notification pour iPhone / iPad gratuite pour le push Twitter et d'autres services by titou.net, on Flickr" href="http://www.flickr.com/photos/titounet/5220655782/"><img class="alignright" style="border: 1px solid black; margin-left: 10px; margin-right: 10px;" src="http://farm5.static.flickr.com/4138/5220655782_5e90787089_m.jpg" alt="Notifo : application de notification pour iPhone / iPad gratuite pour le push Twitter et d'autres services" width="160" height="240" align="right" /></a>I asked on Twitter yesterday if anyone would like to compare the &#8220;Notifo&#8221; service to the &#8220;Prowl&#8221; application for handling push notifications to iPhone and other mobile devices.  No one answered, and so here&#8217;s my brief rundown comparing the two.</p>
<p>If you don&#8217;t already know about <a href="http://en.wikipedia.org/wiki/Apple_Push_Notification_Service">push notifications</a>, a brief primer: they&#8217;re basically just like text messages, except they can be routed/categorized in ways that make them useful to individual applications on your phone.  Instead of getting a generic SMS text message when someone DMs you on Twitter, you can instead use push notifications to have the Twitter app on your phone realize a new DM has come in and alert you according to your personal settings.   When you &#8220;view&#8221; a push notification, you can be taken to a web page or app that&#8217;s relevant to its content.  Best part: the messages don&#8217;t count against any text messaging limit (for now).</p>
<p>I started using <a href="http://prowl.weks.net/">Prowl</a> about 9 months ago.  My three main uses were:</p>
<p><span id="more-1048"></span></p>
<ul>
<li>Notifying me when certain types of e-mail messages are received (using a combination of <a href="http://www.procmail.org/">Procmail</a> and <a href="http://prowl.weks.net/static/prowl.pl">prowl.pl</a>)</li>
<li>Notifying me when I&#8217;m addressed or mentioned in certain IRC channels (using the <a href="https://github.com/denislemire/prowl-irssi/raw/master/prowlnotify.pl">prowlnotify.pl</a> script with <a href="http://irssi.org/">irssi</a>)</li>
<li>Notifying me when I&#8217;m mentioned on Twitter (using <a href="http://preyfetcher.com/">Preyfetcher</a>)</li>
</ul>
<p>Prowl worked great, and I was very happy with it for these uses.</p>
<p>Recently, I had an itch to scratch with push notifications, and when I looked for someone else who might have already scratched that itch, I noticed that Prowl was last updated in August 2009.  Some of the things I wanted to be able to do with Prowl would need to be custom built.</p>
<p><a title="The Apple Iphone 3GS gets a Phone. by Ninja M., on Flickr" href="http://www.flickr.com/photos/a_ninjamonkey/3574350862/"><img src="http://farm4.static.flickr.com/3339/3574350862_49d337b167_m.jpg" border="1" alt="The Apple Iphone 3GS gets a Phone." hspace="10" width="240" height="180" align="left" /></a>But wait! There was this hot new app/service called <a href="http://notifo.com/">Notifo</a> that seemed to have a much more active user community developing <a href="http://notifo.com/services">cool new uses</a> for its platform (including a solution for the itch I wanted to scratch).  With plans to launch an Android and Blackberry app soon, releasing their iPhone app (last updated in September 2010) for free, and a well thought out API infrastructure, Notifo is clearly positioning themselves to be <em>THE</em> realtime mobile notifications service.</p>
<p>And it turned out to be a drop-in replacement for Prowl.  The most recent version of the Twitter app for iPhone now includes push notifications, so I&#8217;m down to two uses for Notifo:</p>
<ul>
<li>Notifying me when certain types of e-mail messages are received (using a combination of <a href="http://www.procmail.org/">Procmail</a> and a custom notifo.pl script using <a href="https://github.com/jhelwig/WWW-Notifo">WWW::Notifo</a>)</li>
<li>Notifying me when I&#8217;m addressed or mentioned in certain IRC channels (using the <a href="https://github.com/donnex/notifonotify/">notifonotify</a> script with <a href="http://irssi.org/">irssi</a>)</li>
</ul>
<p>I&#8217;m also playing with some other uses:</p>
<ul>
<li>Notifications when new items appear in certain RSS feeds</li>
<li>Notifications from our Nagios-based server monitoring infrastructure</li>
<li>Notifications when certain activities happen on blogs that I maintain</li>
<li>Re-routing my real SMS notifications through Notifo so I don&#8217;t need to pay for an SMS messaging add-on to my phone plan</li>
</ul>
<p>Prowl remains a usable and time-tested solution, but the app isn&#8217;t free and the community around it seems stagnant.  Notifo is newer and shinier and will probably have some growing pains, but they&#8217;re doing it right as far as I can tell, their app is free, and their interface is more flexible.</p>
<p>If you&#8217;ve tried one or both out, what do you think?</p>
<p>Regardless of what you think of it, the &#8220;<a href="http://www.wired.com/techbiz/people/magazine/17-10/st_thompson">realtime web</a>&#8221; is here, and I&#8217;m enjoying playing around with what it has to offer.  (Beyond the scope of this blog post is addressing the fundamental question about whether or not it&#8217;s a good thing to be increasing the number of disruptive, &#8220;look at me now&#8221; events I have in my daily life, but your smug comments on this matter are still welcome.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishardie.com/2010/12/notifo-vs-prowl-for-iphone-push-notifications/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>iPhone iOS4 IMAP mail syncing problems</title>
		<link>http://www.chrishardie.com/2010/08/iphone-ios4-imap-mail-syncing-problems/</link>
		<comments>http://www.chrishardie.com/2010/08/iphone-ios4-imap-mail-syncing-problems/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 14:52:24 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[consumer watch]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[customer_service]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.chrishardie.com/?p=995</guid>
		<description><![CDATA[I offer this account of trying to address a known (and I would say, severe) bug in the iPhone 4 mail software, in case it&#8217;s helpful to others: Ever since I upgraded my iPhone to IOS4 (the latest version of the phone&#8217;s operating system), the Mail application has been flaky when it comes to syncing [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Market musician by Chris Hardie, on Flickr" href="http://www.flickr.com/photos/chrishardie/4752802877/"><img src="http://farm5.static.flickr.com/4094/4752802877_8b83345c02_m.jpg" border="1" alt="Market musician" hspace="10" width="180" height="240" align="right" /></a>I offer this account of trying to address a known (and I would say, severe) bug in the iPhone 4 mail software, in case it&#8217;s helpful to others:</p>
<p>Ever since I upgraded my iPhone to IOS4 (the latest version of the phone&#8217;s operating system), the Mail application has been flaky when it comes to syncing mail messages via IMAP. Duplicate messages, empty/blank messages, messages dated 12/31/1969, messages that are deleted and then re-appear, and so on.</p>
<p>At first I thought it might be my phone hardware, which had been cursed from the beginning (a story for another time), but after that phone died and Apple replaced it with a brand new one with fresh firmware and settings, and it STILL happened, I was convinced it&#8217;s the software on the phone.  Other people are having the same issue <a href="http://discussions.apple.com/thread.jspa?threadID=2478179&amp;tstart=120">all</a> <a href="http://discussions.apple.com/message.jspa?messageID=11721554">over</a> <a href="http://discussions.info.apple.com/thread.jspa?threadID=2472435">the</a> <a href="http://discussions.apple.com/thread.jspa?threadID=2522445&amp;tstart=240">place</a>.  But it can be hard to make Apple believe this &#8211; said the Apple Genius Bar worker at the Apple Store in Chicago, &#8220;they&#8217;re probably all just using the phone wrong.&#8221;  Wha?</p>
<p><span id="more-995"></span>So I decided to look at the source code of the iPhone mail program to see if I could find the problem, but Apple doesn&#8217;t make that source code available.</p>
<p>So I decided to turn on the Mail program&#8217;s debugging options to have it output the results of the IMAP sync sessions, but it turns out the Mail program doesn&#8217;t have any debugging options.</p>
<p>So I decided to look at the log files on the phone&#8217;s operating system to see if they reported any software issues I could address, but actually I can&#8217;t look at those log files even if they exist because Apple doesn&#8217;t let you look behind the scenes.</p>
<p>So I decided to report the issue on the project mailing list that all of the iOS4 developers monitor, and it turns out that no such mailing list exists.</p>
<p>So I decided to go report the issue to Apple to see if they can help.</p>
<p>After submitting a case online, I was called back in 27 seconds (FAST!) and talked to Chris from Apple, who works in iPhone support.  He was very good at gauging my level of tech savvy and talking to me at an appropriate level, so he quickly confirmed that I&#8217;d already done all of the normal troubleshooting steps they recommend.  I asked him if this was a known bug, and he said not as far as he could tell.</p>
<p>Chris then connected me with Shawn who is a senior adviser on the iPhone tech support team.  Shawn told me that in fact I had identified a known bug with the iOS4 firmware.  VINDICATION!  He said that they&#8217;ve mostly been seeing it in gMail syncing issues, but that they&#8217;re aware of it as a wider IMAP issue.</p>
<p>I asked Shawn for the unique identifier number for the bug so that I could go follow the progress of a fix on their public bug tracking system, but it turns out that Apple doesn&#8217;t publish information about known bugs until they&#8217;re fixed.</p>
<p>I asked Shawn how I could learn more information about when this would be addressed or other recommended fixes in the meantime, and he said I would just have to wait and see.</p>
<p>(Chris and Shawn at Apple were excellent tech support reps within the confines of what they&#8217;re allowed to do and say.)</p>
<p>Bottom line: these are the horrors of using a closed-source, proprietary product for a key piece of tech functionality in my life.</p>
<p>What Apple can do better:</p>
<ul>
<li>Test its Mail software&#8217;s IMAP syncing functionality more thoroughly before releasing it to production.</li>
<li>Publish information about known software/hardware issues BEFORE they&#8217;re resolved so that people having those issues can see what&#8217;s up and possibly even contribute to the resolution.</li>
<li>Train its store Genius Bar workers so that they don&#8217;t dismiss a legitimate complaint about functionality problems with smiling condescension.</li>
<li>I&#8217;m pushing it here, but hey, it&#8217;s my blog: release the source code for iOS and related applications.</li>
</ul>
<p>If you&#8217;ve had this issue with your iPhone, or similar software/hardware troubleshooting experiences with other vendors, feel free to share in the comments.</p>
<p><strong>Update 9/17/2010</strong>: After installing iOS 4.1 a week or so ago, all of the IMAP syncing issues seem to have gone away.  I&#8217;ve seen a few reports that problems remain for others, but it&#8217;s clear that this release included some fixes for the mail application that weren&#8217;t described in the release notes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishardie.com/2010/08/iphone-ios4-imap-mail-syncing-problems/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Using the iPhoneOS SDK on older PPC Macs</title>
		<link>http://www.chrishardie.com/2009/01/using-the-iphoneos-sdk-on-older-ppc-macs/</link>
		<comments>http://www.chrishardie.com/2009/01/using-the-iphoneos-sdk-on-older-ppc-macs/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 19:25:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.chrishardie.com/?p=503</guid>
		<description><![CDATA[I&#8217;m just getting started with developing applications for the iPhone / iPod Touch, and one of the first real hurdles I encountered was that Apple didn&#8217;t make it easy by default to use their iPhoneOS SDK on non-Intel Macs. With some Googling around I was was able to find a variety of articles that mentioned [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just getting started with developing applications for the iPhone / iPod Touch, and one of the first real hurdles I encountered was that Apple didn&#8217;t make it easy by default to use their iPhoneOS SDK on non-Intel Macs.  With some Googling around I was was able to find a variety of articles that mentioned workarounds, but the comprehensive solution was spread across lots of blog post comments, forum postings, etc.  So, for my own reference and hopefully as assistance to anyone else who might be in the same boat, I&#8217;m consolidating the steps here.</p>
<p><span id="more-503"></span>I&#8217;m using a 1.5GHz Powerbook G4, which uses the PowerPC (PPC) architecture.  I downloaded version 2.2 of the iPhoneOS SDK, build 9m2621-final.</p>
<p>After the regular installation of the <a href="http://developer.apple.com/iphone/">iPhoneOS SDK</a> (which is really just the regular Xcode install with some additional packages thrown in) was complete, the Xcode new project menu was notably missing the option to choose the iPhone platform.  On the advice of <a href="http://3by9.com/85/dont-have-an-intel-machine-but-want-to-code-for-the-iphone-anyway-follow-these-steps/">this 3by9 article</a>, I took these steps:</p>
<ol>
<li>Mount the SDK installer disk image</li>
<li>Open the packages folder</li>
<li>One at a time, install all of the .pkg files that begin with &#8220;iPhone&#8221;, using the default install destination</li>
<li>When done, you&#8217;ll have a &#8220;Platforms&#8221; directory in the root level of your Mac&#8217;s hard drive.  Move the contents of that directory into the <code>/Developer/Platforms/</code> directory.  If you&#8217;re like me, when you&#8217;re done, you&#8217;ll have three directories in <code>/Developer/Platforms</code>: &#8220;iPhoneOS.platform&#8221;, &#8220;iPhoneSimulator.platform&#8221; and &#8220;MacOSX.platform&#8221;.</li>
</ol>
<p>Once that step is done, you&#8217;ll be able to launch Xcode and create new projects that use the iPhoneOS platform and application types.  But, you still won&#8217;t be able to build or run those applications, because Apple has hardcoded the &#8220;i386&#8243; (Intel) architecture as the only valid one to compile for.  Thanks to a variety of comments on the above 3by9 post and comments 23-25 on <a href="http://www.tuaw.com/2008/03/27/iphone-sdk-beta-2-now-hitting-the-streets/2#comments">this TUAW article</a>, here are the remaining steps to address that:</p>
<ul>
<li>Close Xcode and edit this file (perhaps after making a backup): <code>/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications/iPhone Simulator Architectures.xcspec</code></li>
<li>Change line 12 to read <code>Name = "Standard (iPhone Simulator: i386 ppc)";</code></li>
<li>Change line 16 to read <code>RealArchitectures = ( i386, ppc );</code></li>
<li>Add this chunk before the last closing parentheses:
<div class="wp_syntax">
<div class="code">
<pre class="objective_c" style="font-family:monospace;">     // PowerPC
     {
          Type = Architecture;
          Identifier = ppc;
          Name = &quot;PowerPC&quot;;
          Description = &quot;32-bit PowerPC&quot;;
          PerArchBuildSettingName = &quot;PowerPC&quot;;
          ByteOrder = big;
          ListInEnum = NO;
          SortNumber = 106;
     },</pre>
</div>
</div>
</li>
<li>Save the file and close it.  Now relaunch Xcode.</li>
<li>With Xcode open and your project loaded, right click on the project name under the &#8220;Groups &amp; Files&#8221;, and select &#8220;Get Info&#8221;</li>
<li>Under the &#8220;Build&#8221; tab and in the &#8220;Architectures&#8221; menu, change these options:<br />
Set <code>Architectures</code> to &#8220;Native Architecture of Build Machine&#8221;<br />
Set <code>Base SDK</code> to &#8220;Simulator &#8211; iPhoneOS 2.2&#8243;<br />
Leave <code>Build Active Architecture Only</code> checked<br />
Edit <code>Valid Architectures</code> to be not only include armv6, but also &#8220;ppc&#8221; and &#8220;i386&#8243;.<br />
(I think some of these may be redundant, but it&#8217;s the combination that&#8217;s working for me.)</li>
</ul>
<p>When you next build your project, you shouldn&#8217;t get any errors about <code>VALID_ARCHS</code>.</p>
<p>I hope that&#8217;s helpful.  Since this is only one particular combination of build hardware/architecture and SDK software version, I&#8217;m sure there are other combinations out there where the above may not work, your mileage may vary.</p>
<p>Now, back to working on building an actual application&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishardie.com/2009/01/using-the-iphoneos-sdk-on-older-ppc-macs/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

