<?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 - MobInfo API - Comments</title>
 <link>http://www.newlc.com/topic-3364</link>
 <description>Comments for &quot;MobInfo API&quot;</description>
 <language>en</language>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-44444</link>
 <description>&lt;p&gt;Hi all !!&lt;br /&gt;
If anyone knows the UID used in the &lt;br /&gt;
&quot;mobinfo_Nokia.sis&quot;&lt;br /&gt;
found in the following link&lt;br /&gt;
&lt;a href=&quot;http://www.symbian.com/developer/development/syslibs.html#mobinfo&quot;&gt;http://www.symbian.com/developer/development/syslibs.html#mobinfo&lt;/a&gt; ( Get IMSI, IMEI...........etc)&lt;/p&gt;

&lt;p&gt;THere is &quot;file corrupted&quot; error message when i tried to install in my Nokia 6600.&lt;br /&gt;
I have used SDK V2.1.&lt;/p&gt;

&lt;p&gt;please help me.&lt;/p&gt;

&lt;p&gt;prakash_prasain@hotmail.com&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;eval(unescape(&#039;%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%70%72%61%6b%61%73%68%70%72%61%73%61%69%6e%40%67%6d%61%69%6c%2e%63%6f%6d%22%3e%70%72%61%6b%61%73%68%70%72%61%73%61%69%6e%40%67%6d%61%69%6c%2e%63%6f%6d%3c%2f%61%3e%27%29%3b&#039;))&lt;/script&gt;&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Fri, 08 Feb 2008 12:53:08 +0100</pubDate>
 <dc:creator>suku</dc:creator>
 <guid isPermaLink="false">comment 44444 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-44443</link>
 <description>&lt;p&gt;Hi all !!&lt;br /&gt;
If anyone knows the UID used in the &lt;br /&gt;
&quot;mobinfo_Nokia.sis&quot;&lt;br /&gt;
found in the following link&lt;br /&gt;
&lt;a href=&quot;http://www.symbian.com/developer/development/syslibs.html#mobinfo&quot;&gt;http://www.symbian.com/developer/development/syslibs.html#mobinfo&lt;/a&gt; ( Get IMSI, IMEI...........etc)&lt;/p&gt;

&lt;p&gt;THere is &quot;file corrupted&quot; error message when i tried to install in my Nokia 6600.&lt;br /&gt;
I have used SDK V2.1.&lt;/p&gt;

&lt;p&gt;please help me.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Fri, 08 Feb 2008 12:52:31 +0100</pubDate>
 <dc:creator>suku</dc:creator>
 <guid isPermaLink="false">comment 44443 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10389</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;any working source code to get IMSI for 6600. The test application came with MobInfo works but i want source code.&lt;/div&gt;</description>
 <pubDate>Tue, 07 Feb 2006 11:23:01 +0100</pubDate>
 <dc:creator>gs_cmans</dc:creator>
 <guid isPermaLink="false">comment 10389 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10388</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;can you get me a working source code copy using MobInfo api for 6600. The test .sis that came with api works in my 6600. But i could not get a clear source code.&lt;/div&gt;</description>
 <pubDate>Tue, 07 Feb 2006 10:54:47 +0100</pubDate>
 <dc:creator>gs_cmans</dc:creator>
 <guid isPermaLink="false">comment 10388 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to use gsmadv.dll to get imsi</title>
 <link>http://www.newlc.com/topic-3364#comment-10387</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Is there really a way to get IMSI on 6600 or i have to give up. My academic project is actually hanging on this...&lt;br /&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: zanisan&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;you can get the imsi on nokia 6630 with the gsmadv library together with&lt;br /&gt;etelagsm.h&lt;br /&gt;&lt;br /&gt;etelagsm.h apis are not public, it describes extra member functions available inside the gsmadv.dll distributed with 6600 and 6630.&lt;br /&gt;To obtain the header file I had to download a sample application&lt;br /&gt;&amp;quot;sinfo60.zip&amp;quot; (search with google where to download it) but this&lt;br /&gt;sample application is not retrieving the IMSI, so I just got the&lt;br /&gt;headers files.&lt;br /&gt;&lt;br /&gt;To use them i copied some code from&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//forum.newlc.com/viewtopic.php?t=3904&amp;amp;highlight=radvgsmphone&quot; target=&quot;_blank&quot;&gt;http://forum.newlc.com/viewtopic.php?t=3904&amp;amp;highlight=radvgsmphone&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;this a snipplet from my code: i copied the header in a local directory called&lt;br /&gt;&amp;quot;extra&amp;quot;&lt;br /&gt;..&lt;br /&gt;#include &amp;quot;..\..\extra\etelagsm.h&amp;quot;&lt;br /&gt;...&lt;br /&gt;void GetImeiOrImsi(TDes8&amp;amp; aValue, TBool&amp;amp; isImsi)&lt;br /&gt;{&lt;br /&gt;#ifndef __WINS__&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// try first to read the IMSI&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RTelServer iServer; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RAdvGsmPhone iPhone; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RTelServer::TPhoneInfo info; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Connect to the telephony server and load the TSY. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.Connect()); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupClosePushL(iServer); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT(KTsyName, &amp;quot;phonetsy.tsy&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.LoadPhoneModule(KTsyName)); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Get the details for the first (and only) phone. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.GetPhoneInfo(0, info)); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Open the phone. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iPhone.Open(iServer, info.iName)); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupClosePushL(iPhone); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRequestStatus status;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MAdvGsmPhoneInformation::TSubscriberId myId;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Â  Â  Â  Â // get the imsi&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;iPhone.GetSubscriberIdNS(status, myId); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT8(KFormatDecimal, &amp;quot;size of subscriberId:%u&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TBuf8&amp;lt;200&amp;gt; imeiString;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;imeiString.Format(KFormatDecimal,myId.Length());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// trace it ReportMessage(imeiString);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TBuf&amp;lt;200&amp;gt; x;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TInt i=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Zero();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT8(KFlwFormat,&amp;quot;%u&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(i=0; i&amp;lt;myId.Length();i++)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Append(myId[i]);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// trace it ReportMessage(aValue);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupStack::PopAndDestroy(&amp;amp;iPhone);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.UnloadPhoneModule(KTsyName)); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupStack::PopAndDestroy(&amp;amp;iServer); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (myId.Length() == 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// get the imei then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// This only works on target machine&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TPlpVariantMachineId imei;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlpVariant::GetMachineIdL(imei);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Copy(imei);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isImsi = EFalse;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// imsi is already inside aValue&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isImsi = ETrue;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;#else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Return a fake IMEI when working on emulator&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT8(KEmulatorImei, &amp;quot;123456789012345&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Copy(KEmulatorImei);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;isImsi = EFalse;&lt;br /&gt;#endif&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;this code do not compile with original etelagsm because the important&lt;br /&gt;function:&lt;br /&gt;iPhone.GetSubscriberId(status, myId); is not defined like this&lt;br /&gt;inside the real gsmadv.dll that is inside the phones, how did i know?&lt;br /&gt;i decompiled the gsmadv.lib library delivered with the sdk 2.0&lt;br /&gt;&lt;br /&gt;I found on the internet how to extract the list of functions declared inside &lt;br /&gt;a symbian library: &lt;br /&gt;read &lt;br /&gt;&amp;nbsp;Â  Â  &lt;a href=&quot;http&amp;#58;//www.newlc.com/article.php3?id_article=530&quot; target=&quot;_blank&quot;&gt;http://www.newlc.com/article.php3?id_article=530&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;then by ispecting the extracted file i discovered that the members i needed&lt;br /&gt;(the one not public) were still exported and available but symbian (or nokia?) Â obfuscated their names by adding &amp;quot;NS&amp;quot; at the endÂ¨&lt;br /&gt;So I renamed the member (iPhone.GetSubscriberId-&amp;gt;iPhone.GetSubscriberIdNS)&lt;br /&gt;and I had to change the name also inside the original header file (etelagsm.h)&lt;br /&gt;doing this is working on 6630 and return lenght 0 on 6600.&lt;br /&gt;&lt;br /&gt;cheers&lt;br /&gt;sandro&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 06 Feb 2006 14:38:24 +0100</pubDate>
 <dc:creator>gs_cmans</dc:creator>
 <guid isPermaLink="false">comment 10387 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10386</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: tanoshimi&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;The API works fine for me - try the example app available from:&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;Notice though that the source is riddled with errors, so you might need to remove references to activehello.rsg etc. before it will actually compile.&lt;br /&gt;&lt;/div&gt;restoring old post...&lt;br /&gt;&lt;br /&gt;I can&amp;#039;t compile this example: &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;error:&lt;br /&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;make[1]: *** No rule to make target `\Symbian\UIQ_21\EPOC32\INCLUDE\ACTIVEHELLO.RSG&amp;#039;, needed by `..\..\..\EPOC32\BUILD\SYMBIAN\UIQ_21\UIQEXAMPLES\MOBINFOTEST\GROUP\MOBINFOTEST\ARMI\UREL\CMOBINFOTESTAPPVIEW.o&amp;#039;.Â  Stop.&lt;br /&gt;make: *** [TARGETMOBINFOTEST] Error 2&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Any clue?&lt;br /&gt;&lt;br /&gt;I created the ABLD.BAT before using BLDMAKE BLDFILES as stated in that page, but then the ABLD.... command gives this error.&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 16 Sep 2005 18:42:58 +0200</pubDate>
 <dc:creator>jumpjack</dc:creator>
 <guid isPermaLink="false">comment 10386 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10385</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;How to implement new features of just released MOBINFO.DLL to read battery charge level?&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;/div&gt;</description>
 <pubDate>Thu, 15 Sep 2005 20:56:03 +0200</pubDate>
 <dc:creator>jumpjack</dc:creator>
 <guid isPermaLink="false">comment 10385 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10384</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;You can copy them over from Symbian 6.1 SDK. They work OK (at least the ARMI one does)&lt;/div&gt;</description>
 <pubDate>Thu, 18 Aug 2005 07:46:42 +0200</pubDate>
 <dc:creator>riho</dc:creator>
 <guid isPermaLink="false">comment 10384 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API-Need Help</title>
 <link>http://www.newlc.com/topic-3364#comment-10383</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Please let me know, where I could get gsmadv.lib, compatible with 6630 or I would be great if some one can send it to me.&lt;br /&gt;It is very urgent.&lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;Irfan&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;mailto:ik_er@yahoo.co.in&quot;&gt;ik_er@yahoo.co.in&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 17 Aug 2005 14:25:11 +0200</pubDate>
 <dc:creator>irfan</dc:creator>
 <guid isPermaLink="false">comment 10383 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10382</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi andreh, i tried compiling your code, but i can&amp;#039;t...&lt;br /&gt;i already installed the mobinfo installer&lt;br /&gt;but i keep on getting this error ..Â  Â  Â &lt;br /&gt;&amp;quot;\Symbian\Series60_1_2_B\EPOC32\RELEASE\WINSB\UDEB\MOBINFO.LIB&amp;quot;&amp;#039; does not exist - don&amp;#039;t know how to make it&lt;br /&gt;what could possibly be wrong?&lt;br /&gt;&lt;br /&gt;btw, pardon me for asking that.. i&amp;#039;m still a beginner.. &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/cheesy.gif&quot; alt=&quot;Cheezy&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;anyway, tnx! &lt;/div&gt;</description>
 <pubDate>Tue, 21 Jun 2005 05:28:56 +0200</pubDate>
 <dc:creator>jhiey</dc:creator>
 <guid isPermaLink="false">comment 10382 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Cell Id</title>
 <link>http://www.newlc.com/topic-3364#comment-10381</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: citu_rai&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;hi Jumpjack are you able to call a sis file in J2ME&lt;br /&gt;&lt;/div&gt;I&amp;#039;m not exactly talking about J2ME but PersonalJava. &lt;br /&gt;What do you mean by &amp;quot;call a SIS file&amp;quot;? SIS file is an archive, just like a ZIP file.&lt;/div&gt;</description>
 <pubDate>Fri, 20 May 2005 09:01:45 +0200</pubDate>
 <dc:creator>jumpjack</dc:creator>
 <guid isPermaLink="false">comment 10381 at http://www.newlc.com</guid>
</item>
<item>
 <title>Cell Id</title>
 <link>http://www.newlc.com/topic-3364#comment-10380</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi Jumpjack are you able to call a sis file in J2ME&lt;/div&gt;</description>
 <pubDate>Mon, 16 May 2005 15:26:45 +0200</pubDate>
 <dc:creator>citu_rai</dc:creator>
 <guid isPermaLink="false">comment 10380 at http://www.newlc.com</guid>
</item>
<item>
 <title>MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10379</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Do somebody know how I could access mobinfo.dll functionalities from a java program? I know that PersonalJava CAN access C++ libraries, but I don&#039;t understand HOW.&lt;br /&gt;&lt;br /&gt;I need to know exact battery status, as my UIQ phone (Motorola A1000) only shows 4 values: empty, full, 1/3 and 2/3, while other phones like p800/p900 shows exact percentage, very more useful.&lt;/div&gt;</description>
 <pubDate>Wed, 27 Apr 2005 19:39:00 +0200</pubDate>
 <dc:creator>jumpjack</dc:creator>
 <guid isPermaLink="false">comment 10379 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to use gsmadv.dll to get imsi</title>
 <link>http://www.newlc.com/topic-3364#comment-10378</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;you can get the imsi on nokia 6630 with the gsmadv library together with&lt;br /&gt;etelagsm.h&lt;br /&gt;&lt;br /&gt;etelagsm.h apis are not public, it describes extra member functions available inside the gsmadv.dll distributed with 6600 and 6630.&lt;br /&gt;To obtain the header file I had to download a sample application&lt;br /&gt;&amp;quot;sinfo60.zip&amp;quot; (search with google where to download it) but this&lt;br /&gt;sample application is not retrieving the IMSI, so I just got the&lt;br /&gt;headers files.&lt;br /&gt;&lt;br /&gt;To use them i copied some code from&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//forum.newlc.com/viewtopic.php?t=3904&amp;amp;highlight=radvgsmphone&quot; target=&quot;_blank&quot;&gt;http://forum.newlc.com/viewtopic.php?t=3904&amp;amp;highlight=radvgsmphone&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;this a snipplet from my code: i copied the header in a local directory called&lt;br /&gt;&amp;quot;extra&amp;quot;&lt;br /&gt;..&lt;br /&gt;#include &amp;quot;..\..\extra\etelagsm.h&amp;quot;&lt;br /&gt;...&lt;br /&gt;void GetImeiOrImsi(TDes8&amp;amp; aValue, TBool&amp;amp; isImsi)&lt;br /&gt;{&lt;br /&gt;#ifndef __WINS__&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// try first to read the IMSI&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RTelServer iServer; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RAdvGsmPhone iPhone; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RTelServer::TPhoneInfo info; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Connect to the telephony server and load the TSY. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.Connect()); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupClosePushL(iServer); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT(KTsyName, &amp;quot;phonetsy.tsy&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.LoadPhoneModule(KTsyName)); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Get the details for the first (and only) phone. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.GetPhoneInfo(0, info)); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Open the phone. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iPhone.Open(iServer, info.iName)); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupClosePushL(iPhone); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRequestStatus status;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MAdvGsmPhoneInformation::TSubscriberId myId;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // get the imsi&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;iPhone.GetSubscriberIdNS(status, myId); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT8(KFormatDecimal, &amp;quot;size of subscriberId:%u&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TBuf8&amp;lt;200&amp;gt; imeiString;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;imeiString.Format(KFormatDecimal,myId.Length());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// trace it ReportMessage(imeiString);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TBuf&amp;lt;200&amp;gt; x;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TInt i=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Zero();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT8(KFlwFormat,&amp;quot;%u&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(i=0; i&amp;lt;myId.Length();i++)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Append(myId[i]);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// trace it ReportMessage(aValue);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupStack::PopAndDestroy(&amp;amp;iPhone);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(iServer.UnloadPhoneModule(KTsyName)); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupStack::PopAndDestroy(&amp;amp;iServer); &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (myId.Length() == 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// get the imei then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// This only works on target machine&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TPlpVariantMachineId imei;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlpVariant::GetMachineIdL(imei);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Copy(imei);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isImsi = EFalse;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// imsi is already inside aValue&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isImsi = ETrue;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;#else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Return a fake IMEI when working on emulator&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT8(KEmulatorImei, &amp;quot;123456789012345&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;aValue.Copy(KEmulatorImei);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;isImsi = EFalse;&lt;br /&gt;#endif&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;this code do not compile with original etelagsm because the important&lt;br /&gt;function:&lt;br /&gt;iPhone.GetSubscriberId(status, myId); is not defined like this&lt;br /&gt;inside the real gsmadv.dll that is inside the phones, how did i know?&lt;br /&gt;i decompiled the gsmadv.lib library delivered with the sdk 2.0&lt;br /&gt;&lt;br /&gt;I found on the internet how to extract the list of functions declared inside &lt;br /&gt;a symbian library: &lt;br /&gt;read &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http&amp;#58;//www.newlc.com/article.php3?id_article=530&quot; target=&quot;_blank&quot;&gt;http://www.newlc.com/article.php3?id_article=530&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;then by ispecting the extracted file i discovered that the members i needed&lt;br /&gt;(the one not public) were still exported and available but symbian (or nokia?) &amp;nbsp;obfuscated their names by adding &amp;quot;NS&amp;quot; at the endÂ¨&lt;br /&gt;So I renamed the member (iPhone.GetSubscriberId-&amp;gt;iPhone.GetSubscriberIdNS)&lt;br /&gt;and I had to change the name also inside the original header file (etelagsm.h)&lt;br /&gt;doing this is working on 6630 and return lenght 0 on 6600.&lt;br /&gt;&lt;br /&gt;cheers&lt;br /&gt;sandro&lt;/div&gt;</description>
 <pubDate>Wed, 02 Feb 2005 18:12:01 +0100</pubDate>
 <dc:creator>zanisan</dc:creator>
 <guid isPermaLink="false">comment 10378 at http://www.newlc.com</guid>
</item>
<item>
 <title>MobInfo API</title>
 <link>http://www.newlc.com/topic-3364#comment-10377</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi, Zanisan&lt;br /&gt;Can you elaborate how to get the imsi on nokia 6630 detailly. i can&#039;t get some header files.&lt;br /&gt;Thanks !&lt;/div&gt;</description>
 <pubDate>Wed, 02 Feb 2005 05:33:08 +0100</pubDate>
 <dc:creator>Flyingsnow</dc:creator>
 <guid isPermaLink="false">comment 10377 at http://www.newlc.com</guid>
</item>
<item>
 <title>MobInfo API</title>
 <link>http://www.newlc.com/topic-3364</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-3364&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-3364#comments</comments>
 <category domain="http://www.newlc.com/forums/telephony">Telephony</category>
 <pubDate>Sun, 24 Oct 2004 15:13:46 +0200</pubDate>
 <dc:creator>bhima</dc:creator>
 <guid isPermaLink="false">4305 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
