<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Read SIM/Phone number... - Comments</title>
 <link>http://www.newlc.com/topic-5211</link>
 <description>Comments for &quot;Read SIM/Phone number...&quot;</description>
 <language>en</language>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-45937</link>
 <description>&lt;p&gt;Hi all,&lt;br /&gt;
Im assuming that this is a problem whereby the TSY does not support the given functionality.&lt;/p&gt;

&lt;p&gt;I am using the following code: (&lt;a href=&quot;http://wiki.forum.nokia.com/index.php/How_to_get_my_own_phone_number&quot;&gt;http://wiki.forum.nokia.com/index.php/How_to_get_my_own_phone_number&lt;/a&gt;) to try to retrieve my MIDDN. I have the necessary access to the Binary access kit. However when I get to the section: &lt;/p&gt;

&lt;p&gt;if(status.Int() == KErrNone)&lt;br /&gt;
{&lt;br /&gt;
CheckCapabilities(ownStoreInfo.iCaps);&lt;br /&gt;
 &lt;br /&gt;
if(ownStoreInfo.iUsedEntries &lt; 1)&lt;br /&gt;
{&lt;br /&gt;
console-&gt;Printf(_L(&quot;No entry found.\n&quot;));&lt;br /&gt;
User::Leave(KErrNotFound);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
User::Leave(status.Int());&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;the application leaves with a KErrPermissionDenied.&lt;/p&gt;

&lt;p&gt;Originally I had thought that this was a Permissions issue but after looking up the documentation I see that the APi requires ReadUserData permission which I have.&lt;/p&gt;

&lt;p&gt;I am now thinking that it is the TSY that is retruning this error as it does not support the functionality. I am working on an N73 device.&lt;/p&gt;

&lt;p&gt;Has anybody else seen this problem or managed to resolve it? I am particularly interested in the S60 third edition paltform.&lt;/p&gt;

&lt;p&gt;Also I am wondering that even if the TSY returned the MISDN, would this work on most networks or can you be guarnteed that this API will retrieve it for all networks? Perhaps  it is dependant on the operator?&lt;/p&gt;

&lt;p&gt;~b&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Mon, 21 Apr 2008 19:57:45 +0200</pubDate>
 <dc:creator>brian.egan</dc:creator>
 <guid isPermaLink="false">comment 45937 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-41295</link>
 <description>&lt;p&gt;As mentioned previously, you can ask the user to enter the phone number, but then how do you know it&#039;s true?&lt;br /&gt;
What can be done, is send an SMS to the phone number that the user entered, then check the messages and see if your message is in the inbox.&lt;br /&gt;
If it is, you know it&#039;s the right number.&lt;/p&gt;

&lt;p&gt;Good luck,&lt;br /&gt;
Ofer&lt;/p&gt;</description>
 <pubDate>Thu, 06 Sep 2007 13:46:25 +0200</pubDate>
 <dc:creator>ofer</dc:creator>
 <guid isPermaLink="false">comment 41295 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14441</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;If you want a reliable way to retrieve a unique identifier for a given phone, the following gets the IMEI number, which is easier to get than the MSISDN.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Symbian OS 9.x (3rd Edition):&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;#include &amp;lt;e32base.h&amp;gt;&lt;br /&gt;#include &amp;lt;Etel3rdParty.h&amp;gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// CTelephony&lt;br /&gt;&lt;br /&gt;class CGetIMEI : public CActive&lt;br /&gt;{&lt;br /&gt;public:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;static CGetIMEI* NewL();&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;~CGetIMEI();&lt;br /&gt;&lt;br /&gt;public:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// Function for making the initial request&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;void StartL();&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;const TPtrC GetIMEI();&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CGetIMEI();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;void ConstructL();&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// From CActive&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;void RunL();&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// Handle completion&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;void DoCancel();&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;enum TGetIMEIState&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;EStart = 1,&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;EGetPhoneInfo,&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;EDone&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;};&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TInt iState; // State of the active object&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CTelephony* iTelephony;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CTelephony::TPhoneIdV1 iPhoneId;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CActiveSchedulerWait iActiveSchedulerWait;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TBuf&amp;lt;CTelephony::KPhoneSerialNumberSize&amp;gt; iIMEI;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CGetIMEI* CGetIMEI::NewL()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ALLOCD(CGetIMEI*, self, CGetIMEI());&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CleanupStack::PushL(self);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;self-&amp;gt;ConstructL();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CleanupStack::Pop(self);&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return self;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CGetIMEI::CGetIMEI() : CActive(EPriorityHigh) // HIGH priority&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iIMEI.Zero();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iState = EStart;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CGetIMEI::ConstructL()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTelephony = CTelephony::NewL();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CActiveScheduler::Add(this); &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CGetIMEI::~CGetIMEI()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Cancel();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;delete iTelephony;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CGetIMEI::DoCancel()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTelephony-&amp;gt;CancelAsync(CTelephony::EGetPhoneIdCancel);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CGetIMEI::StartL()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Cancel(); // Cancel any request, just to be sure&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iState = EGetPhoneInfo;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CTelephony::TPhoneIdV1Pckg phoneIdPckg( iPhoneId );&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTelephony-&amp;gt;GetPhoneId(iStatus, phoneIdPckg);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;SetActive(); // Tell scheduler a request is active&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iActiveSchedulerWait.Start();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CGetIMEI::RunL()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iState = EDone;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if ( iActiveSchedulerWait.IsStarted() )&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iActiveSchedulerWait.AsyncStop();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if(iStatus == KErrNone)&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iIMEI.Append(iPhoneId.iSerialNumber);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ERROR(PRINT(&amp;quot;[IMEI_3rd.RunL] ERROR: returned &amp;quot; + CString::FromInt(iStatus.Int())));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;const TPtrC CGetIMEI::GetIMEI()&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;StartL();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TPtrC ptr(iIMEI.Ptr());&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return ptr;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CString GetImei()&lt;br /&gt;{&lt;br /&gt;#ifdef __WINS__&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CString toRet = &amp;quot;8034049425440&amp;quot;;&lt;br /&gt;#else&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CGetIMEI* getIMEI = CGetIMEI::NewL();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CString toRet(getIMEI-&amp;gt;GetIMEI().Ptr(), getIMEI-&amp;gt;GetIMEI().Length());&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;INFO(PRINT(&amp;quot;[IMEI_3rd.GetIMEI] IMEI=[&amp;quot; + toRet + &amp;quot;]&amp;quot;));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;DELETE(getIMEI);&lt;br /&gt;#endif&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return toRet;&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;For Symbian OS 6.x: &lt;a href=&quot;http&amp;#58;//www3.symbian.com/faq.nsf/0/ba491eaeb25c5c7d80256bf3003e75fc?OpenDocument&amp;amp;Highlight=2,IMEI&quot; target=&quot;_blank&quot;&gt;http://www3.symbian.com/faq.nsf/0/ba491eaeb25c5c7d80256bf3003e75fc?OpenDocument&amp;amp;Highlight=2,IMEI&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For Symbian OS 7/8: &lt;br /&gt;(The top method has worked on all of the devices I have tested)&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// This only works on target machine&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TPlpVariantMachineId imei;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;PlpVariant::GetMachineIdL(imei);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CString toRet(imei.Ptr(), imei.Length() &amp;gt; 32 ? 32 : imei.Length());&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;DBG(PRINT(&amp;quot;GetImei: Method 1 is %s&amp;quot;, toRet.Get()));&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return toRet;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// For use with Symbian OS v8.0 (Series 60 2nd Edition, FP2 and higher) &lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// Apparently will not work on Nokia 6630&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;// Link against Etel3rdParty.lib&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;/*&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CTelephony::TPhoneIdV1 iPhoneId;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CTelephony* telephony = CTelephony::NewL();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CTelephony::TPhoneIdV1Pckg phoneInfo(iPhoneId);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TRequestStatus iStatus;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;telephony-&amp;gt;GetPhoneId(iStatus, phoneInfo);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;User::WaitForRequest(iStatus);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TPtrC theIMEI(iPhoneId.iSerialNumber);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CString toRet(theIMEI.Ptr(), theIMEI.Length());&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;PRINT(&amp;quot;GetImei: Method 2 is %s&amp;quot;, toRet.Get());&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;return toRet;&lt;br /&gt;*/&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 22 May 2007 20:56:12 +0200</pubDate>
 <dc:creator>euroq</dc:creator>
 <guid isPermaLink="false">comment 14441 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14440</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hello &lt;br /&gt;i read the discussion and now finaly want to know we can get the any unique identification of any sim card to differentiate from other.&lt;br /&gt;one of frnd suggest RMobilePhone::GetSubsriberIf(). but it&amp;#039;s not available in SDK 2nd Edition is it in 3 rd edition.&lt;/div&gt;</description>
 <pubDate>Thu, 24 Aug 2006 13:24:52 +0200</pubDate>
 <dc:creator>wintech</dc:creator>
 <guid isPermaLink="false">comment 14440 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14439</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I&amp;#039;d try to explain the question from a TSY developer&amp;#039;s view.&lt;br /&gt;&lt;br /&gt;Basically, the SIM/Phone number (or officially International Mobile Subscriber Identifier, IMSI) is stored in the EF_IMSI file located in the SIM/USIM card. The ability to retrieve it with a client API is decided by respective vendors. For the project in which I&amp;#039;m participating now, the TSY does not support Symbian&amp;#039;S API RMobilePhone::GetSubscriberId(), but it provides its own HMI API to read EF_IMSI file. That API is for system&amp;#039;s usage and will not be published to App developer. &lt;br /&gt;&lt;br /&gt;I guess that you&amp;#039;d follow Symbian&amp;#039;s API doc suggestion, as:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;This function member returns the subscriber&amp;#039;s identity as described by its IMSI.&lt;br /&gt;&lt;br /&gt;The TSY may not support client retrieval of the IMSI and a client can discover whether it is available using the GetIdentityCaps() request.&lt;/div&gt;&lt;br /&gt;Best regards.&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 27 Jan 2006 02:19:40 +0100</pubDate>
 <dc:creator>ssuu</dc:creator>
 <guid isPermaLink="false">comment 14439 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14438</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;The &lt;a href=&quot;http&amp;#58;//symbianos.org/~andreh/HelloWorld.zip&quot; target=&quot;_blank&quot;&gt;HelloWorld example&lt;/a&gt; has a menu item for this. It does not work for me (UIQ phone), maybe it&amp;#039;s ok for you?&lt;br /&gt;&lt;br /&gt;MOBINFO.DLL : &lt;br /&gt;&lt;a href=&quot;http&amp;#58;//www.symbian.com/developer/development/syslibs.html#mobinfo&quot; target=&quot;_blank&quot;&gt;http://www.symbian.com/developer/development/syslibs.html#mobinfo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;MOBINFOTEST: (I can&amp;#039;t compile it...)&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//developer.sonyericsson.com/getDocument.do?docId=68337&quot; target=&quot;_blank&quot;&gt;http://developer.sonyericsson.com/getDocument.do?docId=68337&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 16 Sep 2005 18:45:07 +0200</pubDate>
 <dc:creator>jumpjack</dc:creator>
 <guid isPermaLink="false">comment 14438 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14437</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi &lt;br /&gt;You can use the&amp;nbsp; API &amp;quot;RMobilePhone::GetSubscriberId()&amp;quot; to get the subscriber ID, which contains the phone number (last 10 digits).&lt;br /&gt;Can refer SDK help for getting it&lt;br /&gt;&lt;br /&gt;phalder&lt;/div&gt;</description>
 <pubDate>Tue, 16 Aug 2005 11:47:20 +0200</pubDate>
 <dc:creator>halderp</dc:creator>
 <guid isPermaLink="false">comment 14437 at http://www.newlc.com</guid>
</item>
<item>
 <title>Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14436</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;You can&#039;t. The phone doesn&#039;t really know its own number (the MSISDN). It could be stored on the SIM, but generally it isn&#039;t, because it isn&#039;t used for anything, really.&lt;br /&gt;&lt;br /&gt;As the phone doesn&#039;t really know/have the number, the phone never sends the number when making a call or sending a message or browsing, or any other thing that accesses the network.&lt;br /&gt;&lt;br /&gt;The operator&#039;s network looks the number up based on the SIM serial number (IMSI), and either sends it or doesn&#039;t send it (depending on whether sending it has been blocked - except for SMS/MMS with which it is always sent).&lt;br /&gt;&lt;br /&gt;And even in those rare cases where an operator chooses to put the number on the SIM card, you need privileged access to the SIM application toolkit APIs (SATK). But because it isn&#039;t done, even if you could make the SATK calls, there&#039;s no guarantee that any numbers are there.&lt;br /&gt;&lt;br /&gt;So, if you need the user&#039;s phone number, ask it from the user (or figure out a way to solve your problem without the number).&lt;/div&gt;</description>
 <pubDate>Wed, 02 Feb 2005 22:30:58 +0100</pubDate>
 <dc:creator>N_A</dc:creator>
 <guid isPermaLink="false">comment 14436 at http://www.newlc.com</guid>
</item>
<item>
 <title>Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14435</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;jkekoni,&lt;br /&gt;&lt;br /&gt;hello...&lt;br /&gt;&lt;br /&gt;so ure saying that there is no way that i can access the GSM number?&lt;br /&gt;&lt;br /&gt;I&#039;m trying to make a network application, doesn&#039;t involved phone calls or SMS.. I just need to send the GSM number through the network.. &lt;br /&gt;&lt;br /&gt;I can prompt the user to enter his number but he might enter a different number or hemight enter someone&#039;s cellphone number.. so i was thinking that maybe i could get the number programatically..&lt;/div&gt;</description>
 <pubDate>Tue, 01 Feb 2005 18:11:45 +0100</pubDate>
 <dc:creator>maverick</dc:creator>
 <guid isPermaLink="false">comment 14435 at http://www.newlc.com</guid>
</item>
<item>
 <title>Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211#comment-14434</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;GSM phones generally do not know their own phone number. &lt;br /&gt;&lt;br /&gt;They only need to know ther IMSI and IMEI number.&lt;/div&gt;</description>
 <pubDate>Tue, 01 Feb 2005 15:33:38 +0100</pubDate>
 <dc:creator>jkekoni</dc:creator>
 <guid isPermaLink="false">comment 14434 at http://www.newlc.com</guid>
</item>
<item>
 <title>Read SIM/Phone number...</title>
 <link>http://www.newlc.com/topic-5211</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-5211&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-5211#comments</comments>
 <category domain="http://www.newlc.com/forums/telephony">Telephony</category>
 <pubDate>Tue, 01 Feb 2005 13:32:19 +0100</pubDate>
 <dc:creator>maverick</dc:creator>
 <guid isPermaLink="false">5977 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
