<?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>Metosphere &#187; iphone</title>
	<atom:link href="http://metosphere.com/blog/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://metosphere.com/blog</link>
	<description>Mobile Location Browser</description>
	<lastBuildDate>Sat, 06 Mar 2010 03:08:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Verizon vs. AT&amp;T &#8211; Red States vs. Blue States</title>
		<link>http://metosphere.com/blog/2009/12/14/verizon-vs-att-red-states-vs-blue-states/</link>
		<comments>http://metosphere.com/blog/2009/12/14/verizon-vs-att-red-states-vs-blue-states/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 07:15:31 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[christian]]></category>
		<category><![CDATA[prayer]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=90</guid>
		<description><![CDATA[I&#8217;m continuously amazed at how many people are using the Prayer apps I wrote (Prayers to Share for Android and Christian Prayer Journal for the iPhone).   The Android app now has over 11,000 active installs.  I thought the rate of downloads and usage would taper off, but things are still growing at [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m continuously amazed at how many people are using the <a href="http://prayerstoshare.net/">Prayer apps</a> I wrote (Prayers to Share for Android and Christian Prayer Journal for the iPhone).   The Android app now has over 11,000 active installs.  I thought the rate of downloads and usage would taper off, but things are still growing at a rate where I&#8217;m starting to worry about my server.  One of the best things about this app is how people continue to use it every day while most of my other apps get downloaded and removed shortly after when people get bored.</p>
<p>One thing I&#8217;ve been tracking is that while these two apps are essentially the same app, it&#8217;s MUCH more popular on Android than on the iPhone.</p>
<p><strong>Android Market vs. iPhone App Store</strong><br />
Here&#8217;s a quick screenshot of the current Android Market stats:<br />
<img src="http://prayerstoshare.net/images/blog/market.png" alt="Android Market" /><br />
<img align="right" src="http://prayerstoshare.net/images/blog/androids-praying.png" alt="Androids Praying" /><br />
Prayers to Share is getting between 250-500 downloads per day in the Android Market.  But the same iPhone app gets 25-50 downloads per day through the App Store.</p>
<p>The 10x difference is no doubt due to ease of discoverability on the Android Market vs. the App Store.  It&#8217;s a Top 20 Most Popular App in the Social Category of the Android Market and is easy for new users to find while it&#8217;s buried in the iPhone App store listings.</p>
<p><strong>Red States vs. Blue States</strong><br />
But I had a funny conversation the other day about Verizon Red States and AT&amp;T Blue States.  It was probably a result of being hammered over the head by too many Verizon commercials, but more likely due to too much caffeine.</p>
<p><img src="http://prayerstoshare.net/images/blog/verizon-att-map.jpg" alt="Verizon-AT&amp;T Map" /></p>
<p>Here&#8217;s the gist of it:</p>
<p><em>&#8220;Those Verizon commercials with the Red and Blue maps remind me of Republican Red states and Democratic blue states.&#8221;</em></p>
<p>&#8220;If you actually look at the AT&amp;T blue map in the commercial, it&#8217;s pretty sad.  It looks like it&#8217;s just the coasts and major metropolitan areas.</p>
<p>There&#8217;s some truth to those commercials.  People I know in NYC and the West Coast love their iPhones, but my friends in the midwest won&#8217;t even consider an iPhone because AT&amp;T coverage is so poor near them. Not just 3G coverage, they have a bad perception of any AT&amp;T coverage in their area.</p>
<p>Maybe that&#8217;s why Prayers to Share does better in devout Verizon Red States than wicked AT&amp;T Blue States.</p>
<p>Well,  there <em>have</em> been several prayers for God to <a href="http://prayerstoshare.net/s/abortion.html">end abortion</a> from Android phones and one person even prayed for <a href="http://prayerstoshare.net/request-1786/god-please-have-oba.html">Obama to be shot</a>.</p>
<p>Hmm, maybe I should just focus on pious Android apps for Red States since the amoral iPhone app market is pretty crowded.&#8221;</p>
<p><strong>OK, maybe I should cut back on the caffeine.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/12/14/verizon-vs-att-red-states-vs-blue-states/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most Popular iPhone and Android Bucket List Items</title>
		<link>http://metosphere.com/blog/2009/11/23/most-popular-iphone-and-android-bucket-list-items/</link>
		<comments>http://metosphere.com/blog/2009/11/23/most-popular-iphone-and-android-bucket-list-items/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 23:43:33 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[bucket list]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=84</guid>
		<description><![CDATA[So my Bucket List apps have been doing well on both the iPhone and Android.  We surpassed 22,000 bucket list items shared this past weekend.
It&#8217;s a little tricky finding the most popular &#8220;things to do before you die&#8221; because people phrase things differently, but here&#8217;s the Top 20 Most Popular Bucket List Items shared so [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bucket-lists.com/images/android-bucket-list.jpg" alt="Android Bucket List" align="right" />So my <a href="http://bucket-lists.com/">Bucket List apps</a> have been doing well on both the iPhone and Android.  We surpassed 22,000 bucket list items shared this past weekend.</p>
<p>It&#8217;s a little tricky finding the most popular &#8220;things to do before you die&#8221; because people phrase things differently, but here&#8217;s the Top 20 Most Popular Bucket List Items shared so far on both apps.</p>
<p><strong>Most Popular iPhone and Android Bucket List Items</strong><br />
1. Skydiving (#1 by far)<br />
2. Get married<br />
3. Swim with dolphins<br />
4. Get a tattoo<br />
5. Go on a cruise<br />
6. Write a book<br />
7. Go to Hawaii<br />
8. Scuba Dive<br />
9. Run a marathon<br />
10. Buy a house<br />
11. See the pyramids<br />
12. Have kids<br />
13. Go to Italy<br />
14. Go to Vegas<br />
15. Fall in love<br />
16. See the northern lights<br />
17. Visit Australia<br />
18. Go to Ireland<br />
19. Bungee Jump<br />
20. Hot Air Balloon</p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/11/23/most-popular-iphone-and-android-bucket-list-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone AppStore Rejection &#8211; Personal User Data</title>
		<link>http://metosphere.com/blog/2009/10/22/iphone-appstore-rejection-personal-user-data/</link>
		<comments>http://metosphere.com/blog/2009/10/22/iphone-appstore-rejection-personal-user-data/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:53:21 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[appstore]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=74</guid>
		<description><![CDATA[Aargh, I got my first iPhone app rejection!
My first 6 submissions and updates all went smoothly, but this time I got dinged by the dreaded &#8220;device data collection&#8221;/&#8221;personal user data&#8221; notice for uploading info to my webserver.
Your application cannot be posted to the App Store because it violates section 3.3.6 of the iPhone Developer Program [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Aargh, I got my first iPhone app rejection!</p>
<p>My first 6 submissions and updates all went smoothly, but this time I got dinged by the dreaded &#8220;device data collection&#8221;/&#8221;personal user data&#8221; notice for uploading info to my webserver.</p>
<p>Your application cannot be posted to the App Store because it violates section 3.3.6 of the iPhone Developer Program License Agreement:</p>
<p>&#8220;Any form of user or device data collection, or image, picture or voice capture or recording performed by the Application (collectively “Recordings”), and any form of user data, content or information processing, maintenance, uploading, syncing, or transmission performed by the Application (collectively &#8220;Transmissions&#8221;) must comply with all applicable privacy laws and regulations as well as any Apple program requirements related to such aspects, including but not limited to any notice or consent requirements. In particular, a reasonably conspicuous audio, visual, or other indicator must be displayed to the user as part of the Application to indicate that a Recording is taking place.&#8221;</p>
<p>Please refer to the attached images.</p>
<p><strong>Please make it clear to the user that their personal user data is being uploaded to your server, and obtain their consent before submission.</strong></p>
<p>I think I screwed up with my fix, though.  In the new version, I now throw up an alert each time someone shares info with my server which is sure to annoy users.</p>
<p>After googling a bit for this type of rejection, it looks like they&#8217;ve changed the verbage of this rejection, and they used to suggest a solution with this type of rejection:</p>
<p>Your application cannot be posted to the App Store because it violates section 3.3.6 of the iPhone SDK Agreement:</p>
<p>&#8220;Any form of user or device data collection, or image, picture or voice capture or recording performed by the Application (collectively “Recordings”), and any form of user data, content or information uploading, syncing, or transmission performed by the Application (collectively &#8220;Transmissions&#8221;) must comply with all applicable privacy laws and regulations as well as any Apple program requirements related to such aspects, including but not limited to any notice or consent requirements. In particular, a reasonably conspicuous visual indicator must be displayed to the user as part of the Application to indicate that a Recording is taking place.&#8221;</p>
<p><strong>Please make it clear to the user that their personal user data is being uploaded to your server by way of an alert upon first launch or a text label before the score submission.</strong></p></blockquote>
<p>I&#8217;m tempted to reject the current binary and make the warning less obtrusive, but I don&#8217;t want to reset my place in the approval queue.</p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/10/22/iphone-appstore-rejection-personal-user-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Tech Talks Filling Up</title>
		<link>http://metosphere.com/blog/2009/10/22/iphone-tech-talks-filling-up/</link>
		<comments>http://metosphere.com/blog/2009/10/22/iphone-tech-talks-filling-up/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 19:36:47 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[events]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=70</guid>
		<description><![CDATA[We are pleased to confirm your registration for the iPhone Tech Talk in San Jose on 29 October 2009.
Woohoo!  I was worried I wouldn&#8217;t get in this because I was slow in applying, but I managed to get in.  Four of them are already full, so don&#8217;t procrastinate!
The agenda looks great, except there [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><em>We are pleased to confirm your registration for the iPhone Tech Talk in San Jose on 29 October 2009.</em></p></blockquote>
<p>Woohoo!  I was worried I wouldn&#8217;t get in this because I was slow in applying, but I managed to get in.  Four of them are already full, so don&#8217;t procrastinate!</p>
<p>The agenda looks great, except there are so many good sessions it&#8217;s tough to choose which one to attend.</p>
<p><strong><a href="http://developer.apple.com/events/iphone/techtalks/">iPhone Tech Walk World Tour</a></strong></p>
<p>October 29—San Jose FULL<br />
November 2—Seattle<br />
December 1—New York FULL<br />
December 3—Toronto<br />
November 9—Paris<br />
November 11—London FULL<br />
November 13—Hamburg<br />
December 2—Beijing<br />
December 15—Tokyo FULL</p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/10/22/iphone-tech-talks-filling-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>July and August Mobile Events</title>
		<link>http://metosphere.com/blog/2009/07/15/july-and-august-mobile-events/</link>
		<comments>http://metosphere.com/blog/2009/07/15/july-and-august-mobile-events/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 21:19:30 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Palm Pre]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[silicon valley]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=57</guid>
		<description><![CDATA[I missed these the last time I posted about events.  Here are a few more mobile/geo events around Silicon Valley this summer.
July 21
Web Map Social Mountain View, 7pm
NASA WorldWind, Brightkite, WeoGeo + networking
July 22
Silicon Valley Android Developers Palo Alto, 6:30pm
App demos and how to program in Android
July 27
iPhone Business Meetup Santa Clara, 6pm
Challenges and Opportunities [...]]]></description>
			<content:encoded><![CDATA[<p>I missed these the last time I posted about events.  Here are a few more mobile/geo events around Silicon Valley this summer.</p>
<p>July 21<br />
<a href="http://www.meetup.com/webmapsocial/calendar/10669511/">Web Map Social</a> Mountain View, 7pm<br />
NASA WorldWind, Brightkite, WeoGeo + networking</p>
<p>July 22<br />
<a href="http://www.meetup.com/svandroid/calendar/10684514/">Silicon Valley Android Developers</a> Palo Alto, 6:30pm<br />
App demos and how to program in Android</p>
<p>July 27<br />
<a href="http://www.meetup.com/iPhoneBiz/calendar/10736276/">iPhone Business Meetup</a> Santa Clara, 6pm<br />
Challenges and Opportunities for iPhone in Enterprises</p>
<p>July 28<br />
<a href="http://www.vdc2009.com/">Verizon Developer Conference</a> San Jose, CA</p>
<p>July 28<br />
<a href="http://www.meetup.com/palm-webos/calendar/10739076/">Palm Pre, Mojo, and webOS Meetup</a> Sunnyvale, 7pm</p>
<p>August 7<br />
<a href="http://gtug-campout-sv.eventbrite.com/">GTUG Campout </a>Mountain View<br />
Weekend Hackathon on Google Technologies</p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/07/15/july-and-august-mobile-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clang for iPhone &#8211; syntax error before ‘AT_NAME’ token</title>
		<link>http://metosphere.com/blog/2009/07/06/clang-for-iphone-syntax-error-before-%e2%80%98at_name%e2%80%99-token/</link>
		<comments>http://metosphere.com/blog/2009/07/06/clang-for-iphone-syntax-error-before-%e2%80%98at_name%e2%80%99-token/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 01:40:38 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[clang]]></category>
		<category><![CDATA[memory leak]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=51</guid>
		<description><![CDATA[So I finally got tired of struggling with Instruments trying to find memory leaks. I first read about Clang a while ago , but just filed it away to check out later.
But Instruments proved too frustrating, so I downloaded Clang from here.  It was a little tricky to install, but after a few hurdles, [...]]]></description>
			<content:encoded><![CDATA[<p>So I finally got tired of struggling with Instruments trying to find memory leaks. I first read about Clang a while ago <a href="http://www.pacificspirit.com/blog/2009/03/05/iphone_memory_leak_detection_using_clang"></a>, but just filed it away to check out later.</p>
<p>But Instruments proved too frustrating, so I downloaded Clang from <a href="http://clang.llvm.org/">here</a>.  It was a little tricky to install, but after a few hurdles, I found 20 memory leaks in my app.  If you&#8217;re developing iPhone apps, you really need to check out Clang if you haven&#8217;t already.</p>
<p>Two things tripped me up in the installation process.</p>
<p><strong>1. Could not find clang-cc line </strong></p>
<p>The solution for this was at <a href="http://cramfighter.com/wordpress/2009/05/28/clang-could-not-find-clang-cc-line-error/">cramfighter.com</a>.  Basically I need to change some projects settings.</p>
<p><strong>2. syntax error before ‘AT_NAME’ token </strong></p>
<p>This was tricker to figure out because there errors weren&#8217;t in my files and looks like the problem started with the 3.0 SDK.  I ended up going with <a href="http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/19342-ui-kit-error-sdk-3-0-a.html">this solution</a> as a temporary workaround.  This involved commenting out the UILocalizedIndexedCollation.h import in UIKit.h.</p>
<p>As is often the case, after I got things up and running, I found a great page with an intro to Clang at <a href="http://www.fruitstandsoftware.com/blog/2008/08/finding-memory-leaks-with-the-llvmclang-static-analyzer/">fruitstandsoftware.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/07/06/clang-for-iphone-syntax-error-before-%e2%80%98at_name%e2%80%99-token/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone File Upload Progress Bar</title>
		<link>http://metosphere.com/blog/2009/07/03/iphone-file-upload-progress-bar/</link>
		<comments>http://metosphere.com/blog/2009/07/03/iphone-file-upload-progress-bar/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 05:40:00 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=49</guid>
		<description><![CDATA[So I&#8217;ve been working on an iPhone app that uploads a file to a website through a POST request.  At first I just used a standard Activity Indicator during the upload, but every time I would test out the app out around town, it made for a terrible user experience because uploading an image [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working on an iPhone app that uploads a file to a website through a POST request.  At first I just used a standard Activity Indicator during the upload, but every time I would test out the app out around town, it made for a terrible user experience because uploading an image can take a while.</p>
<p>I&#8217;d tried a few times to get a nice Progress Bar showing how many bytes have been uploaded, but gave up because I could never get it to work.  Then today I noticed the <em>didSendBodyData</em> delegate method for NSURLConnection.  I don&#8217;t know how I missed this before, but I feel like an idiot.</p>
<blockquote><p><a href="http://gemma.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/">NSURLConnection Class Reference</a></p>
<p><strong>connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:</strong><br />
Sent as the body (message data) of a request is transmitted (such as in an http POST request).</p>
<p>- (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSINteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite<br />
<strong>Parameters</strong></p>
<p>connection<br />
The connection sending the message.<br />
bytesWritten<br />
The number of bytes written in the latest write.<br />
totalBytesWritten<br />
The total number of bytes written for this connection.<br />
totalBytesExpectedToWrite<br />
The number of bytes the connection expects to write.</p>
<p><strong>Discussion</strong></p>
<p>This method provides an estimate of the progress of a URL upload.</p>
<p>The value of totalBytesExpectedToWrite may change during the upload if the request needs to be retransmitted due to a lost connection or an authentication challenge from the server.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/07/03/iphone-file-upload-progress-bar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upcoming Events</title>
		<link>http://metosphere.com/blog/2009/07/02/upcoming-events/</link>
		<comments>http://metosphere.com/blog/2009/07/02/upcoming-events/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 05:12:14 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipdc3]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/?p=47</guid>
		<description><![CDATA[May and June has a lot of great events. These look promising for July and August.
July 14 San Francisco Android Users Group, San Francisco
July 20-24 OSCON 2009, San Jose
July 31-Aug 2 iPhone Dev Camp 3, Sunnyvale
[Probably Delayed] Pre Dev Camp, San Francisco
Aug 12-13 Open Source World/Foss Dev Camp, San Francisco
]]></description>
			<content:encoded><![CDATA[<p>May and June has a lot of great events. These look promising for July and August.</p>
<p>July 14 <a href="http://www.sfandroid.org/">San Francisco Android Users Group</a>, San Francisco</p>
<p>July 20-24 <a href="http://en.oreilly.com/oscon2009">OSCON 2009</a>, San Jose</p>
<p>July 31-Aug 2 <a href="http://www.iphonedevcamp.org/">iPhone Dev Camp 3</a>, Sunnyvale</p>
<p>[Probably Delayed] <a href="http://sanfrancisco.predevcamp.org/">Pre Dev Camp</a>, San Francisco</p>
<p>Aug 12-13 <a href="http://www.linuxworldexpo.com/">Open Source World/Foss Dev Camp</a>, San Francisco</p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2009/07/02/upcoming-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Location Browser with Latitude and Longitude</title>
		<link>http://metosphere.com/blog/2008/08/20/iphone-location-browser-with-latitude-and-longitude/</link>
		<comments>http://metosphere.com/blog/2008/08/20/iphone-location-browser-with-latitude-and-longitude/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 09:52:45 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[Location]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[webapp]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/2008/08/20/iphone-location-browser-with-latitude-and-longitude/</guid>
		<description><![CDATA[I&#8217;ve been working on a native iPhone version of Metosphere for a while, but after talking to several people I&#8217;ve decided to go in a slightly different direction. I&#8217;m about to submit this to the AppStore, but I wanted to bounce it off a larger audience first.
I&#8217;ve run into several web developers who want to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a native iPhone version of Metosphere for a while, but after talking to several people I&#8217;ve decided to go in a slightly different direction. I&#8217;m about to submit this to the AppStore, but I wanted to bounce it off a larger audience first.</p>
<p>I&#8217;ve run into several web developers who want to make cool webapps for the iPhone using its location information.  Unfortunately, even though they&#8217;re killer web devs, there are several hurdles to overcome such as not having a Mac, needing to learn Objective C, obtaining a certificate, etc.</p>
<p>So I proposed we just create a generic, skeleton, native iPhone app that would access our websites using UIWebView and do all the heavy lifting on the web side.  A generic browser with a URL bar at the top but providing CoreLocation information to the website.  Essentially, like Safari but allowing the website access to location information.</p>
<p>This solved several of the issues we&#8217;d been thinking of:</p>
<ul>
<li>We don&#8217;t all have to pay the SDK fee and spend weeks/months learning it.  Web developers can focus on web development.</li>
<li>Each of us doesn&#8217;t have to go through the hassle of creating an app, getting it approved, and maintaining it over time.  We can just share the generic browser/client.</li>
<li>The App Store is just going to get more crowded, I&#8217;m already getting tired of installing apps and uninstalling them right away.  A general location browser allows someone to quickly try out a site without having to find and download an app.</li>
</ul>
<p>I&#8217;d like to see this project open-sourced, although there&#8217;s been a lot of confusion recently if that&#8217;s allowed with the current SDK agreement.</p>
<p>There are some folks working on similar concepts like <a href="http://phonegap.com/">PhoneGap</a> and <a href="http://webtonative.com">WebToNative</a>, but I think there&#8217;s room for a completely simple solution like this.</p>
<p>Ideally, location information would be an option to expose within Safari, but I&#8217;m not convinced that will ever happen.  There are serious privacy issues if something like that were built into Safari, and it&#8217;s definitely not for most people. But there&#8217;s a subset of folks out there that have a use for something like Metosphere.  Kind of like the location info provided in Google Gears or  the Skyhook Firefox extension.</p>
<p>I was hoping to provide Lat/Long information to websites through HTTP headers, but that&#8217;s not available in UIWebView, so webpages that want location information from the Metosphere browser will need to include a simple Javascript function.</p>
<p>Here&#8217;s a summary of how this works:</p>
<ol>
<li>Install Metosphere on your iPhone (hope it gets approved!)</li>
<li>Create a webpage with a Javascript function called updateLocation that looks something like this:<br />
&lt;html&gt;&lt;head&gt;<br />
&lt;script language=&#8221;javascript&#8221;&gt;<br />
var latitude=0;    //these will be set when the Metosphere browser calls updateLocation()<br />
var longitude=0;function updateLocation(metoLat, metoLng){<br />
latitude=metoLat;<br />
longitude=metoLng;<br />
document.getElementById(&#8220;message&#8221;).innerHTML = &#8220;Your latitude=&#8221;+latitude + &#8221; and longitude=&#8221; + longitude;<br />
//now do something cool with latitude and longitude set<br />
}<br />
&lt;/script&gt;&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id=&#8221;message&#8221;&gt;Location not available&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</li>
<li>Enter your webpage&#8217;s URL in Metosphere&#8217;s location bar and your page should have access to the latitude and longitude.<br />
<img src="http://metosphere.com/images/iphonemeto1.gif" alt="iphone latitude" width="230" height="345" /><img src="http://metosphere.com/images/iphonemeto2.gif" alt="iphone longitude" width="230" height="349" /></li>
<li>Create a webpage/webapp that does something cool with this location information.</li>
</ol>
<blockquote><p><img src="http://metosphere.com/images/iphonemeto3.gif" alt="iphone native" width="230" height="450" /></p></blockquote>
<p>Anyway, that&#8217;s the current direction for this project.  Some cool features to add down the road would be:</p>
<ul>
<li>integration with Yahoo&#8217;s FireEagle</li>
<li>a setting to allow the browser to periodically update location info at set intervals</li>
<li>the ability to create extensions like Firefox</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2008/08/20/iphone-location-browser-with-latitude-and-longitude/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>iPhone Location Browser</title>
		<link>http://metosphere.com/blog/2008/04/10/iphone-location-browser/</link>
		<comments>http://metosphere.com/blog/2008/04/10/iphone-location-browser/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 10:16:31 +0000</pubDate>
		<dc:creator>s</dc:creator>
				<category><![CDATA[Location]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[fireeagle]]></category>

		<guid isPermaLink="false">http://metosphere.com/blog/2008/04/10/iphone-location-browser/</guid>
		<description><![CDATA[I often run into difficulty explaining the concept of Metosphere since I don&#8217;t always have my laptop with Android emulator at hand.  So I whipped up an iPhone webapp that has similar functionality to the Android version.
I decided to focus on an iPhone webapp for now, since most people I know have unJailbroken iPhones. [...]]]></description>
			<content:encoded><![CDATA[<p>I often run into difficulty explaining the concept of Metosphere since I don&#8217;t always have my laptop with Android emulator at hand.  So I whipped up an iPhone webapp that has similar functionality to the <a href="http://metosphere.com/android-app.html">Android version</a>.</p>
<p>I decided to focus on an iPhone webapp for now, since most people I know have unJailbroken iPhones.  Thankfully, <a href="http://fireeagle.yahoo.net/">FireEagle</a> handles the location info nicely.  The backend is the same, so any geospatial information created in either the iPhone or Android version shows up in the same, um, metosphere.</p>
<p><strong>Features:</strong><br />
- Create geotagged objects at your location (messages, alerts, events, reviews, etc.)<br />
- View geotagged objects created by others in your proximity (list or map)<br />
- List nearby events from Upcoming and Eventful<br />
- List nearby geotagged Wikipedia pages<br />
- I left out the GeoBlog functionality for now since that&#8217;s still in flux while I&#8217;m finalizing the forthcoming Android release.<br />
- I used the <a href="http://clientside.cnet.com/cnet-js-standards/ciui-cnet-iphone-ui/">CiUI</a> iPhone UI instead of IUI because it seems faster.</p>
<p><strong><a href="http://metosphere.com/iphone">Click here for Metosphere for iPhone</a></strong></p>
<p><strong>Some Screenshots:</strong></p>
<p><img src="http://metosphere.com/screenshots/iphone1.jpg" alt="iphone" align="top" height="290" width="230" /><img src="http://metosphere.com/screenshots/iphone2.jpg" alt="iphone" height="346" width="229" /></p>
<p><img src="http://metosphere.com/screenshots/iphone3.jpg" alt="iphone" align="top" height="280" width="230" /> <img src="http://metosphere.com/screenshots/iphone8.jpg" alt="iphone" height="286" width="230" /></p>
<p><img src="http://metosphere.com/screenshots/iphone4.jpg" alt="iphone" align="top" height="280" width="230" /><img src="http://metosphere.com/screenshots/iphone5.jpg" alt="iphone" height="283" width="230" /></p>
<p><img src="http://metosphere.com/screenshots/iphone7.jpg" alt="iphone" align="top" height="280" width="230" /><img src="http://metosphere.com/screenshots/iphone6.jpg" alt="iphone" height="282" width="230" /></p>
]]></content:encoded>
			<wfw:commentRss>http://metosphere.com/blog/2008/04/10/iphone-location-browser/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
