<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pragmatic Forums | Posts in topic 'Errata 36118 (michael stairs)'</title>
    <link>/forums/83/topics/1914.rss</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Errata 36118 (michael stairs) posted by Chris Adamson @ Tue, 27 Jan 2009 00:39:04 +0000</title>
      <description>&lt;p&gt;Replying to errata submitters via forums since the errata page doesn&amp;#8217;t have a way to comment on errata or reply directly to submitters&amp;#8230;&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;Is it possible to add information on how to access the iPhone’s phone number and carrier? This information would allow me to tailor my app to the user.&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;I&amp;#8217;m not aware of anything like this in the public &lt;span class="caps"&gt;API&lt;/span&gt;.  There are a few interesting properties in &lt;code&gt;UIDevice&lt;/code&gt; that you might find useful, like the system version, localized device name, and a unique identifier that IDs a specific device.  But most of the phone stuff is pretty much off-limits in the public &lt;span class="caps"&gt;SDK&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Interesting to note, &lt;span class="caps"&gt;BTW&lt;/span&gt;, that the Android platform exposes an &lt;span class="caps"&gt;SDK&lt;/span&gt; for telephony, while the iPhone &lt;span class="caps"&gt;SDK&lt;/span&gt; really hides the phone from you (if your app gets terminated, you can&amp;#8217;t even find out if it&amp;#8217;s because of an incoming call or the user pressing the home button).&lt;/p&gt;</description>
      <pubDate>Tue, 27 Jan 2009 00:39:04 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:83:1914:7891</guid>
      <author>Chris Adamson</author>
      <link>http://forums.pragprog.com/forums/83/topics/1914</link>
    </item>
  </channel>
</rss>
