<?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 - Network info from 9500 (Series 80) - Comments</title>
 <link>http://www.newlc.com/topic-9770</link>
 <description>Comments for &quot;Network info from 9500 (Series 80)&quot;</description>
 <language>en</language>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23846</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hey, i know how to scroll. and i read that u are questioning about getting network operator name which is the same question as mine. and... your codes is about IMSI rite?&lt;br /&gt;&lt;br /&gt;what i ask is have you solved to get network operator&amp;#039;s name (coz i still get my phone freeze)? and if you have, how? can u post some snippet of ur codes?&lt;/div&gt;</description>
 <pubDate>Thu, 22 Feb 2007 05:38:12 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 23846 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23845</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Don&amp;#039;t you know how to scroll pages? There is code sample above&lt;/div&gt;</description>
 <pubDate>Wed, 21 Feb 2007 09:05:39 +0100</pubDate>
 <dc:creator>riho</dc:creator>
 <guid isPermaLink="false">comment 23845 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23844</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;have u solved it?&lt;br /&gt;i use CTelephony &lt;br /&gt;- GetCurrentNetworkName --&amp;gt; return blank&lt;br /&gt;- GetOperatorName --&amp;gt; return blank&lt;br /&gt;- GetCurrentNetworkInfo --&amp;gt; my phone freeze&lt;br /&gt;&lt;br /&gt;can u post me snippet of ur codes?&lt;br /&gt;Thanks,&lt;br /&gt;Rx-lee&lt;/div&gt;</description>
 <pubDate>Wed, 21 Feb 2007 04:36:36 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 23844 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23843</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Browsed the internet and Symbian forums&lt;/div&gt;</description>
 <pubDate>Mon, 19 Feb 2007 10:31:47 +0100</pubDate>
 <dc:creator>riho</dc:creator>
 <guid isPermaLink="false">comment 23843 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23842</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi riho,&lt;br /&gt;&lt;br /&gt;how did u solve it?&lt;br /&gt;any clue.. &lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;-Rx-lee&lt;/div&gt;</description>
 <pubDate>Mon, 19 Feb 2007 10:25:23 +0100</pubDate>
 <dc:creator>Rx-lee</dc:creator>
 <guid isPermaLink="false">comment 23842 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23841</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;//header&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;class CIMSI : public CActive&lt;br /&gt;{&lt;br /&gt;public:&lt;br /&gt;CIMSI();&lt;br /&gt;&lt;br /&gt;// Construction&lt;br /&gt;void ConstructL();&lt;br /&gt;&lt;br /&gt;// Destruction&lt;br /&gt;~CIMSI();&lt;br /&gt;&lt;br /&gt;static CIMSI* NewL();&lt;br /&gt;&lt;br /&gt;// Issue request: retrieve IMSI&lt;br /&gt;void GetIMSI(TRequestStatus &amp;amp;aStatus); // MOD: now passes a request object&lt;br /&gt;&lt;br /&gt;// Cancel request&lt;br /&gt;void DoCancel();&lt;br /&gt;&lt;br /&gt;// Service completed request&lt;br /&gt;void RunL();&lt;br /&gt;&lt;br /&gt;// MOD: IsRetrieved() is no longer needed&lt;br /&gt;//TBool IsRetrieved() { return iRetrieved;}&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;CTelephony* iTelephony; // telephony object we own&lt;br /&gt;&lt;br /&gt;CTelephony::TSubscriberIdV1 iV1;&lt;br /&gt;CTelephony::TSubscriberIdV1Pckg * iPkg;&lt;br /&gt;&lt;br /&gt;//MOD: Removed iRetrieved member, added pointer to request status object&lt;br /&gt;//TBool iRetrieved;&lt;br /&gt;TRequestStatus *iIMSIStatus;&lt;br /&gt;&lt;br /&gt;public:&lt;br /&gt;TBuf&amp;lt;30&amp;gt; retrievedIMSI; &lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;//code&lt;br /&gt;CIMSI::CIMSI() : CActive(EPriorityStandard)&lt;br /&gt;{&lt;br /&gt;// iRetrieved = EFalse; // MOD: No longer needed&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CIMSI* CIMSI::NewL()&lt;br /&gt;{&lt;br /&gt;CIMSI* self =new(ELeave) CIMSI();&lt;br /&gt;CleanupStack::PushL(self);&lt;br /&gt;self-&amp;gt;ConstructL();&lt;br /&gt;CleanupStack::Pop(self);&lt;br /&gt;return self;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CIMSI::ConstructL()&lt;br /&gt;{&lt;br /&gt;iPkg = new (ELeave) CTelephony::TSubscriberIdV1Pckg(iV1);&lt;br /&gt;iTelephony = CTelephony::NewL();&lt;br /&gt;CActiveScheduler::Add(this);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CIMSI::~CIMSI()&lt;br /&gt;{&lt;br /&gt;Cancel(); // if any request outstanding, calls DoCancel() to cleanup&lt;br /&gt;delete iTelephony;&lt;br /&gt;delete iPkg;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CIMSI::GetIMSI(TRequestStatus&amp;amp; aStatus)&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;aStatus=KRequestPending; // MOD: Set status to pending&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iIMSIStatus = &amp;amp;aStatus; // MOD: Save pointer to requeststatus object&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;iTelephony-&amp;gt;GetSubscriberId(iStatus, *iPkg );&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;//iTelephony-&amp;gt;GetPhoneId( iStatus, *iPkg );&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;SetActive();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CActiveScheduler::Start();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CIMSI::RunL()&lt;br /&gt;{&lt;br /&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;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;retrievedIMSI = (*iPkg)().iSubscriberId; // Read IMSI from package buffer&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;CActiveScheduler::Stop();&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;User::RequestComplete(iIMSIStatus,iStatus.Int());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CIMSI::DoCancel()&lt;br /&gt;{&lt;br /&gt;Cancel();&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//implement&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;CIMSI* IMSI = CIMSI::NewL();&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;TRequestStatus status;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;IMSI-&amp;gt;GetIMSI(status);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;User::WaitForRequest(status);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if (status==KErrNone)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;aIMSI.Copy(IMSI-&amp;gt;retrievedIMSI);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;delete IMSI;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 26 Jan 2006 08:37:37 +0100</pubDate>
 <dc:creator>riho</dc:creator>
 <guid isPermaLink="false">comment 23841 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770#comment-23840</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi Rhio,&lt;br /&gt;&lt;br /&gt;I&amp;#039;m also working on the same program... I need to retrieve the IMSI number... U said that u&amp;#039;ve done it using the CTelephony API.&lt;br /&gt;&lt;br /&gt;Can u please post a code snippet to tell me how u did this???&lt;br /&gt;&lt;br /&gt;This would be a lot of help to us!!!&lt;br /&gt;&lt;br /&gt;Thanks...&lt;br /&gt;&lt;br /&gt;Ashwin...&lt;/div&gt;</description>
 <pubDate>Tue, 24 Jan 2006 12:51:41 +0100</pubDate>
 <dc:creator>cruisemaniac</dc:creator>
 <guid isPermaLink="false">comment 23840 at http://www.newlc.com</guid>
</item>
<item>
 <title>Network info from 9500 (Series 80)</title>
 <link>http://www.newlc.com/topic-9770</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-9770&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-9770#comments</comments>
 <category domain="http://www.newlc.com/forums/nokia-series-80-phones">Nokia Series 80 Phones</category>
 <pubDate>Fri, 12 Aug 2005 10:50:52 +0200</pubDate>
 <dc:creator>riho</dc:creator>
 <guid isPermaLink="false">10218 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
