<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Register URLs in Mobile Safari Dynamically?</title>
	<atom:link href="http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically</link>
	<description>Tips and Tricks for iPhone, iPod, iPad and iOS Developers</description>
	<lastBuildDate>Sun, 18 Jul 2010 17:17:16 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bobby Beckmann</title>
		<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/comment-page-1#comment-2074</link>
		<dc:creator>Bobby Beckmann</dc:creator>
		<pubDate>Thu, 11 Feb 2010 03:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=407#comment-2074</guid>
		<description>I&#039;ve been trying to get something like this working for quite awhile where the user is shown a webpage, and if they don&#039;t have the app installed, it entices them to load it. The big difference in my approach is that I wanted it to work even when there was no network connection. I&#039;ve got quite a javascript hack that does it. If you want to see what I mean, on your iphone, go to http://localb.net/gohorns and you&#039;ll go through the &quot;install&quot; process, which installs a webclip on your phone that when launched will try to start the app, and if it fails will ask you to go to itunes to download the app. It isn&#039;t perfect, and the UI leaves quite a bit to be desired, but the concept is good enough to get the point across. 

I&#039;d love any feedback on the approach!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying to get something like this working for quite awhile where the user is shown a webpage, and if they don&#8217;t have the app installed, it entices them to load it. The big difference in my approach is that I wanted it to work even when there was no network connection. I&#8217;ve got quite a javascript hack that does it. If you want to see what I mean, on your iphone, go to <a href="http://localb.net/gohorns" rel="nofollow">http://localb.net/gohorns</a> and you&#8217;ll go through the &#8220;install&#8221; process, which installs a webclip on your phone that when launched will try to start the app, and if it fails will ask you to go to itunes to download the app. It isn&#8217;t perfect, and the UI leaves quite a bit to be desired, but the concept is good enough to get the point across. </p>
<p>I&#8217;d love any feedback on the approach!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/comment-page-1#comment-1938</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 29 Jan 2010 15:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=407#comment-1938</guid>
		<description>@Dominic: The server detects if it&#039;s an iPhone &lt;strong&gt;and&lt;/strong&gt; if the iPhone has the cookie set that indicates that the app is installed on the device. If both conditions are true, then the server redirects to the custom protocol.</description>
		<content:encoded><![CDATA[<p>@Dominic: The server detects if it&#8217;s an iPhone <strong>and</strong> if the iPhone has the cookie set that indicates that the app is installed on the device. If both conditions are true, then the server redirects to the custom protocol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic Tancredi</title>
		<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/comment-page-1#comment-1937</link>
		<dc:creator>Dominic Tancredi</dc:creator>
		<pubDate>Fri, 29 Jan 2010 14:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=407#comment-1937</guid>
		<description>Awesome feature! We&#039;ve added custom protocols to our app ComicVille. So when a user clicks on the link from their safari, it loads the app and creates a new webcomic link.

But the difficulty has been figuring out how to register the protocol somewhere if a user doesn&#039;t have the app yet... But if it involves a cookie being set and url redirect... 

So the url actually opens to a page, and the server detects if the browser is an iPhone, if it is, redirect to the custom protocol?</description>
		<content:encoded><![CDATA[<p>Awesome feature! We&#8217;ve added custom protocols to our app ComicVille. So when a user clicks on the link from their safari, it loads the app and creates a new webcomic link.</p>
<p>But the difficulty has been figuring out how to register the protocol somewhere if a user doesn&#8217;t have the app yet&#8230; But if it involves a cookie being set and url redirect&#8230; </p>
<p>So the url actually opens to a page, and the server detects if the browser is an iPhone, if it is, redirect to the custom protocol?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/comment-page-1#comment-1927</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 28 Jan 2010 16:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=407#comment-1927</guid>
		<description>@Brian: Thank you for the insights! I didn&#039;t realize that cookies in Mobile Safari were that persistent. But that makes sense. Just to test it, I deleted my cookies in Settings, and lo and behold, the MobileMe galleries now display in Safari again. Time to bring our server team into the loop so that we can add this cool feature to our apps.</description>
		<content:encoded><![CDATA[<p>@Brian: Thank you for the insights! I didn&#8217;t realize that cookies in Mobile Safari were that persistent. But that makes sense. Just to test it, I deleted my cookies in Settings, and lo and behold, the MobileMe galleries now display in Safari again. Time to bring our server team into the loop so that we can add this cool feature to our apps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Tunning</title>
		<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/comment-page-1#comment-1926</link>
		<dc:creator>Brian Tunning</dc:creator>
		<pubDate>Thu, 28 Jan 2010 15:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=407#comment-1926</guid>
		<description>This feature is built using all off-the-shelf APIs.  When the device follows the gallery.me.com URL, and the web server detects a cookie set earlier, the web site redirects to a custom protocol registered in the plist (gallery://).

This is done because it is not known if the recipient of a tell a friend email will be viewing the mail on an iPhone with the Gallery app installed, or a desktop machine.</description>
		<content:encoded><![CDATA[<p>This feature is built using all off-the-shelf APIs.  When the device follows the gallery.me.com URL, and the web server detects a cookie set earlier, the web site redirects to a custom protocol registered in the plist (gallery://).</p>
<p>This is done because it is not known if the recipient of a tell a friend email will be viewing the mail on an iPhone with the Gallery app installed, or a desktop machine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Frederick</title>
		<link>http://iPhoneIncubator.com/blog/application-preferences/register-urls-in-mobile-safari-dynamically/comment-page-1#comment-1925</link>
		<dc:creator>Matthew Frederick</dc:creator>
		<pubDate>Thu, 28 Jan 2010 15:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=407#comment-1925</guid>
		<description>The mid-stream registration is cool, and indeed would be great to have access to. One http URL that&#039;s already registered by default is maps.google.com, which sends you to the Maps app.</description>
		<content:encoded><![CDATA[<p>The mid-stream registration is cool, and indeed would be great to have access to. One http URL that&#8217;s already registered by default is maps.google.com, which sends you to the Maps app.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
