<?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 - Mission Impossible : Getting the Location string. - Comments</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html</link>
 <description>Comments for &quot;Mission Impossible : Getting the Location string.&quot;</description>
 <language>en</language>
<item>
 <title>A small change</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-46289</link>
 <description>&lt;p&gt; In the  source code :&lt;br /&gt;
             // Pop descriptor from cleanup stack &lt;br /&gt;
                CleanupStack::PopAndDestroy( nameHeap);                                &lt;br /&gt;
                }&lt;br /&gt;
  &lt;img src=&quot;/sites/all/modules/smileys/packs/example/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; /&gt; //       }  &lt;img src=&quot;/sites/all/modules/smileys/packs/example/puzzled.png&quot; title=&quot;Puzzled&quot; alt=&quot;Puzzled&quot; /&gt;  &lt;img src=&quot;/sites/all/modules/smileys/packs/example/puzzled.png&quot; title=&quot;Puzzled&quot; alt=&quot;Puzzled&quot; /&gt; Redundant symbols&lt;br /&gt;
        else{//panic&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
        iBroadcastMsg.Close();&lt;br /&gt;
        iPhone.Close(); &lt;br /&gt;
        iServer.UnloadPhoneModule( KGsmModuleName ); &lt;br /&gt;
        iServer.Close();&lt;br /&gt;
  *******************************************************************     &lt;br /&gt;
Since stdio.h is present in epocroot\epoc32\include\libc, right click on test (project) -&gt; properties. In the tools settings tab, -&gt;         System Include paths -&gt;click the + button and add this&quot;$EPOCROOTepoc32\include\libc&quot;.----need to change &lt;br /&gt;
&quot;${EPOCROOT}epoc32\include\libc&quot;&lt;/p&gt;

&lt;p&gt;In the same tools settings tab-&gt;GCC98 Linker First stage.Under that general options.There will be a list of libraries. Again click the &#039;+&#039; button and add the following libs &quot;$EPOCROOTepoc32\release\armi\urel\estlib.lib&quot; &quot;$EPOCROOTepoc32\release\armi\urel\etel.lib&quot; &quot;$EPOCROOTepoc32\release\armi\urel\etelmm.lib&quot; &quot;$EPOCROOTepoc32\release\armi\urel\efsrv.lib&quot;&lt;/p&gt;

&lt;p&gt;Need to rewrite ?&lt;br /&gt;
&quot;${EPOCROOT}epoc32\release\armi\urel\estlib.lib&quot; &quot;${EPOCROOT}epoc32\release\armi\urel\etel.lib&quot; &quot;${EPOCROOT}epoc32\release\armi\urel\etelmm.lib&quot; &quot;${EPOCROOT}epoc32\release\armi\urel\efsrv.lib&quot;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Sun, 11 May 2008 15:08:16 +0200</pubDate>
 <dc:creator>zhai</dc:creator>
 <guid isPermaLink="false">comment 46289 at http://www.newlc.com</guid>
</item>
<item>
 <title> Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-44308</link>
 <description>&lt;p&gt;[b]im using sony erricson t310 as the gsm modem.....ijust hav to display the location string received on cell phone to the computer hyperterminal using AT-Commands...pls help me....&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Sun, 03 Feb 2008 04:33:46 +0100</pubDate>
 <dc:creator>monsier2186</dc:creator>
 <guid isPermaLink="false">comment 44308 at http://www.newlc.com</guid>
</item>
<item>
 <title> Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-44307</link>
 <description>&lt;p&gt;hi. friends...&lt;br /&gt;
im not exactly related to this field....but im doing final yr project on vehicle vigilance system using gsm...&lt;br /&gt;
if anyone of u can pls explain me how to retrieve information of location from mobile set to controller ...or computer using  AT-Commands.....&lt;br /&gt;
it will be a great help......thanks....&lt;br /&gt;
if possible pls mail me on &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%6d%6f%6e%73%69%65%72%32%31%38%36%40%79%61%68%6f%6f%2e%63%6f%2e%69%6e%22%3e%6d%6f%6e%73%69%65%72%32%31%38%36%40%79%61%68%6f%6f%2e%63%6f%2e%69%6e%3c%2f%61%3e%27%29%3b&#039;))&lt;/script&gt;......&lt;/p&gt;</description>
 <pubDate>Sun, 03 Feb 2008 04:24:13 +0100</pubDate>
 <dc:creator>monsier2186</dc:creator>
 <guid isPermaLink="false">comment 44307 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-43786</link>
 <description>&lt;p&gt;I am trying to build the &#039;test&#039; project by following the procedure given by Sam Tam On February 10th, 2007. &lt;br /&gt;
I am trying this for N70 (Using S60 2nd edition FP3 SDK), Using Carbide C/C++, Ver-1.2 &lt;/p&gt;

&lt;p&gt;Getting two issues:&lt;br /&gt;
1.One of the step says: &quot;Now in the test\group\test.mmp file. There will be something called &quot;LIBRARY&quot; add the following to it : LIBRARY etelmm.lib LIBRARY etel.lib and save it.&quot;&lt;/p&gt;

&lt;p&gt;I did not see any LIBRARY &quot;etelmm.lib&quot; in the ADD Library window.&lt;/p&gt;

&lt;p&gt;2. Another step syas: &quot;right click on test (project) -&gt; properties. In the tools settings tab&quot;.&lt;/p&gt;

&lt;p&gt;But i did not see any C/C++ build-&gt; tools setting tab on the right.&lt;/p&gt;

&lt;p&gt;Could anybody please send your comments on it?&lt;/p&gt;</description>
 <pubDate>Sun, 06 Jan 2008 17:46:27 +0100</pubDate>
 <dc:creator>AmitMuduli</dc:creator>
 <guid isPermaLink="false">comment 43786 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-43222</link>
 <description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;i am doing work in S60 2nd Edition FP3.&lt;/p&gt;

&lt;p&gt;when i reach following line than my application closed.&lt;br /&gt;
iBroadcastMsg.CancelAsyncRequest(EMobileBroadcastMessagingReceiveMessage);&lt;/p&gt;

&lt;p&gt;But it work fine in FP2.&lt;/p&gt;

&lt;p&gt;please tell me why this happend.&lt;br /&gt;
Help me Please.&lt;/p&gt;

&lt;p&gt;Regards&lt;br /&gt;
SymbianTG&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Fri, 30 Nov 2007 05:59:36 +0100</pubDate>
 <dc:creator>SymbianTG</dc:creator>
 <guid isPermaLink="false">comment 43222 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-41829</link>
 <description>&lt;p&gt;hi mayur,&lt;br /&gt;
    i am trying to develop a similar kind of app in j2me.&lt;/p&gt;

&lt;p&gt;I would like to know if you hav used any port numbers? if you did plz post&lt;/p&gt;

&lt;p&gt;thanx in advance&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Wed, 26 Sep 2007 11:04:29 +0200</pubDate>
 <dc:creator>meteo</dc:creator>
 <guid isPermaLink="false">comment 41829 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-41606</link>
 <description>&lt;p&gt;Hello,&lt;br /&gt;
I have a problem to get location string in N70, N72. These two models are s60 2nd edition sdks. i will paste the soucre code of using Active object class  of .h and .cpp files. &lt;/p&gt;

&lt;p&gt;--------------------------------------------------------------------------&lt;br /&gt;
Active1.h&lt;br /&gt;
--------------------------------------------------------------------------&lt;br /&gt;
 #ifndef _CACTIVE1_H__&lt;br /&gt;
 #define _CACTIVE1_H__&lt;br /&gt;
 &lt;br /&gt;
#include &lt;coemain.h&gt;        // to use iCoeEnv&lt;br /&gt;
#include &lt;aknlists.h&gt;&lt;br /&gt;
#include &lt;AknGrid.h&gt;&lt;br /&gt;
#include &lt;aknPopup.h&gt;       // PopupList&lt;br /&gt;
#include &lt;gulicon.h&gt;&lt;br /&gt;
#include &lt;akntitle.h&gt;&lt;br /&gt;
#include &lt;AknIconArray.h&gt;&lt;br /&gt;
#include &lt;etelbgsm.h&gt;&lt;br /&gt;
#include &lt;etelmm.h&gt;&lt;/p&gt;

&lt;p&gt;class CActive1 : public CActive &lt;br /&gt;
	{&lt;br /&gt;
	&lt;br /&gt;
public :&lt;br /&gt;
	//Construct /Distruct &lt;br /&gt;
	static CActive1* CActive1::NewL() ;&lt;br /&gt;
//	~CDelayedHello();&lt;br /&gt;
	&lt;br /&gt;
	//Request &lt;br /&gt;
	void SetHello(TTimeIntervalMicroSeconds32 aDelay);&lt;/p&gt;

&lt;p&gt;//private :&lt;br /&gt;
	//Construct /destruct&lt;br /&gt;
	CActive1();&lt;br /&gt;
	void ConstructL();&lt;br /&gt;
	~CActive1();&lt;br /&gt;
	&lt;br /&gt;
	//from CActive&lt;br /&gt;
	&lt;br /&gt;
	void RunL() ;&lt;br /&gt;
	void DoCancel();&lt;br /&gt;
	TInt RunError(TInt aError);&lt;br /&gt;
	&lt;br /&gt;
private :&lt;/p&gt;

&lt;p&gt;RTimer iTimer; //Has &lt;br /&gt;
CEikonEnv* iEnv; //Uses&lt;/p&gt;

&lt;p&gt;TInt enumphone ;&lt;br /&gt;
//Get Locattion &lt;br /&gt;
RTelServer iServer;    &lt;br /&gt;
RMobilePhone iPhone; &lt;br /&gt;
RTelServer::TPhoneInfo iPhoneInfo; &lt;/p&gt;

&lt;p&gt;//GSM CBM&#039;s length is 88 bytes&lt;br /&gt;
TBuf8&lt;256&gt; iGsmMsgdata;&lt;br /&gt;
RBasicGsmPhone phone;&lt;br /&gt;
TBuf&lt;MBasicGsmPhoneNetwork::KLongNetworkNameSize&gt; iLongNwName;&lt;br /&gt;
MBasicGsmPhoneNetwork::TCurrentNetworkInfo NetworkInfo;&lt;br /&gt;
TBuf16&lt;128&gt; bLocStr;&lt;br /&gt;
RMobileBroadcastMessaging iBroadcastMsg;&lt;br /&gt;
TBuf16&lt;100&gt; bDisplay;&lt;br /&gt;
}; &lt;br /&gt;
#endif&lt;/p&gt;

&lt;p&gt;--------------------------------------------------------------------------&lt;br /&gt;
Active1.cpp&lt;br /&gt;
--------------------------------------------------------------------------&lt;br /&gt;
#include &lt;eikmenup.h&gt;&lt;br /&gt;
#include &lt;avkon.hrh&gt;&lt;br /&gt;
#include &lt;aknnotewrappers.h&gt; &lt;br /&gt;
#include &quot;CActive1.h&quot;&lt;br /&gt;
#include &lt;etelbgsm.h&gt;&lt;br /&gt;
#include &lt;etelmm.h&gt;&lt;br /&gt;
_LIT(KTsyName, &quot;phonetsy.tsy&quot;); &lt;br /&gt;
 &lt;/p&gt;

&lt;p&gt;CActive1* CActive1::NewL() &lt;br /&gt;
	{&lt;br /&gt;
		CActive1* self = new (ELeave) CActive1();&lt;br /&gt;
		CleanupStack::PushL(self);&lt;br /&gt;
		self-&gt;ConstructL();&lt;br /&gt;
		CleanupStack::Pop(self);&lt;br /&gt;
		return self; &lt;br /&gt;
	}&lt;/p&gt;

&lt;p&gt;CActive1::CActive1():CActive(CActive::EPriorityHigh)&lt;br /&gt;
	{&lt;br /&gt;
		CActiveScheduler::Add(this);&lt;br /&gt;
	}&lt;br /&gt;
void CActive1::ConstructL()&lt;br /&gt;
	{&lt;br /&gt;
		iEnv = CEikonEnv::Static();&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
//destruction&lt;br /&gt;
CActive1::~CActive1()&lt;br /&gt;
	{&lt;br /&gt;
	Cancel();&lt;br /&gt;
	iServer.Close();&lt;br /&gt;
	iServer.UnloadPhoneModule( KTsyName );  		&lt;br /&gt;
	iPhone.Close(); &lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
void CActive1::SetHello(TTimeIntervalMicroSeconds32 aDelay) &lt;br /&gt;
	{&lt;br /&gt;
	      	enumphone = 1;&lt;br /&gt;
       	if (enumphone &lt; 1) { &lt;br /&gt;
			User::Leave(KErrNotFound); &lt;br /&gt;
      	 	} &lt;br /&gt;
      	  	iServer.Connect(); &lt;br /&gt;
      	 	iServer.LoadPhoneModule( KTsyName ); &lt;br /&gt;
	 	User::LeaveIfError(iServer.EnumeratePhones(enumphone)); &lt;br /&gt;
	 	&lt;br /&gt;
		//Initialise the phone object &lt;br /&gt;
	      	User::LeaveIfError(iServer.GetPhoneInfo(0, iPhoneInfo)); &lt;br /&gt;
	      	&lt;br /&gt;
	      	 //to get other info&lt;br /&gt;
	      	User::LeaveIfError(phone.Open(iServer, iPhoneInfo.iName));&lt;br /&gt;
	      	CleanupClosePushL(phone);&lt;br /&gt;
	      	User::LeaveIfError(phone.GetCurrentNetworkInfo(NetworkInfo));&lt;br /&gt;
	      	CleanupStack::PopAndDestroy();&lt;br /&gt;
	      	//ends here&lt;br /&gt;
	   &lt;br /&gt;
	 	RMobileBroadcastMessaging::TMobileBroadcastAttributesV1 iAttrInfo;&lt;br /&gt;
		TPckg&lt;RMobileBroadcastMessaging::TMobileBroadcastAttributesV1&gt; iDes(iAttrInfo);   &lt;br /&gt;
	      	  &lt;br /&gt;
	      // network file&lt;br /&gt;
	      	User::LeaveIfError(iPhone.Open(iServer, iPhoneInfo.iName)); &lt;br /&gt;
	     	iBroadcastMsg.Open(iPhone);&lt;br /&gt;
	    &lt;br /&gt;
	      	 //Wait for the CBM&lt;br /&gt;
	      	 iBroadcastMsg.ReceiveMessage(iStatus,iGsmMsgdata,iDes);&lt;br /&gt;
	        SetActive();&lt;br /&gt;
	  &lt;br /&gt;
	}&lt;/p&gt;

&lt;p&gt;void CActive1::RunL() &lt;br /&gt;
	{&lt;br /&gt;
	 	 bDisplay.Copy(iGsmMsgdata);&lt;br /&gt;
	      	 int i;&lt;br /&gt;
	      	 char locationString[94];&lt;br /&gt;
	      	 char cbuf;&lt;br /&gt;
	      	 int char_cnt=0;&lt;br /&gt;
	      	 unsigned int bb = 0;&lt;br /&gt;
	      	 unsigned char your,curr,prev = 0;&lt;br /&gt;
	      	 for (i=6;i&lt;iGsmMsgdata.Length();i++){&lt;br /&gt;
	      	 	cbuf = iGsmMsgdata[i];&lt;br /&gt;
         		unsigned char aa = (1 &lt;&lt; (7 - bb%7)) - 1;&lt;br /&gt;
         		your = cbuf &amp; aa;&lt;br /&gt;
         		your = (your &lt;&lt; (bb)) | prev;&lt;br /&gt;
         		curr = cbuf &amp; (0xff ^ aa);&lt;br /&gt;
         		curr = curr &gt;&gt; (7 - bb);                        &lt;br /&gt;
         		prev = curr;&lt;br /&gt;
         		if(your == 0xd){&lt;br /&gt;
	            		break;&lt;br /&gt;
	      		}&lt;br /&gt;
			locationString[char_cnt] = your;&lt;br /&gt;
			bb = ++bb % 7;                &lt;br /&gt;
			char_cnt++;&lt;br /&gt;
	      		if(bb==0){        &lt;br /&gt;
	            		locationString[char_cnt++] = prev;&lt;br /&gt;
	            		prev =0;&lt;br /&gt;
	      		}&lt;br /&gt;
	      	}&lt;br /&gt;
	      	locationString[char_cnt] = &#039;\0&#039;;&lt;br /&gt;
	      	TPtrC8 symbPtr((TText8*)locationString);&lt;br /&gt;
	      	bDisplay.Copy(symbPtr);&lt;br /&gt;
	&lt;br /&gt;
	       iGsmMsgdata.Zero();&lt;br /&gt;
	     &lt;br /&gt;
	       iBroadcastMsg.Close();      &lt;br /&gt;
		iPhone.Close(); &lt;br /&gt;
		iServer.UnloadPhoneModule( KTsyName );&lt;br /&gt;
		iServer.Close();&lt;br /&gt;
 				 &lt;br /&gt;
	   		CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;&lt;br /&gt;
	   		informationNote-&gt;ExecuteLD(bDisplay);	&lt;br /&gt;
	      bDisplay.Zero();&lt;br /&gt;
		SetHello(1000000);&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
TInt CActive1::RunError(TInt aError)&lt;br /&gt;
	{&lt;br /&gt;
	return KErrNone;&lt;br /&gt;
	&lt;br /&gt;
	}&lt;/p&gt;

&lt;p&gt;void CActive1::DoCancel()&lt;br /&gt;
{&lt;br /&gt;
	Cancel();&lt;br /&gt;
	&lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;-------------------------------------------------------------------------&lt;/p&gt;

&lt;p&gt;This code was tested on Nokia6600,Nokia6630 its working fine. The application will close in N70,N72 while using same code.&lt;br /&gt;
if any problems in this code rectefy and reply back me.&lt;/p&gt;

&lt;p&gt;Thanks&amp;Regards,&lt;br /&gt;
Hem&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Wed, 19 Sep 2007 09:17:01 +0200</pubDate>
 <dc:creator>hemrajn</dc:creator>
 <guid isPermaLink="false">comment 41606 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-41422</link>
 <description>&lt;p&gt;Am not aware about J2ME.&lt;br /&gt;
You can try asking here or on Forum Nokia J2ME specific sub-forum.&lt;br /&gt;
--Mayur.&lt;/p&gt;</description>
 <pubDate>Wed, 12 Sep 2007 16:18:33 +0200</pubDate>
 <dc:creator>mayur24</dc:creator>
 <guid isPermaLink="false">comment 41422 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-41375</link>
 <description>&lt;p&gt;hi....&lt;br /&gt;
is it possible to find CBM using j2me? pls reply &lt;/p&gt;</description>
 <pubDate>Tue, 11 Sep 2007 12:51:39 +0200</pubDate>
 <dc:creator>conian</dc:creator>
 <guid isPermaLink="false">comment 41375 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-40221</link>
 <description>&lt;p&gt;bytes 3-4 can be used to get message identifier which is helpful if you want to get messages from some specific channel:&lt;/p&gt;

&lt;p&gt;TUint16 identifier = (iGsmMsgdata[3] &lt;&lt; 3) | iGsmMsgdata[4];&lt;br /&gt;
if (identifier == 401) // this cbm is from location channel &quot;050&quot;&lt;br /&gt;
{&lt;br /&gt;
// decode from byte 7 to byte 88 as shown in article. &lt;br /&gt;
}&lt;/p&gt;

&lt;p&gt;cheers&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Sat, 28 Jul 2007 10:48:57 +0200</pubDate>
 <dc:creator>Error</dc:creator>
 <guid isPermaLink="false">comment 40221 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-39803</link>
 <description>&lt;p&gt;Hello All-&lt;br /&gt;
I am new to Symbian development, and although there was a posting detailing how to setup the dev environ for S60 2nd edition, &lt;br /&gt;
I would like to know if there is an equivalent (ported) code for the S60 3rd edition platform.  I am using a Nokia E50 and Carbide C++ for development.&lt;br /&gt;
Any help would be most appreciated. &lt;br /&gt;
Thanks.&lt;/p&gt;</description>
 <pubDate>Tue, 10 Jul 2007 15:38:16 +0200</pubDate>
 <dc:creator>kkannapp</dc:creator>
 <guid isPermaLink="false">comment 39803 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-39751</link>
 <description>&lt;p&gt;to cancel receive message : &lt;/p&gt;

&lt;p&gt;iBroadcastMsg.CancelAsyncRequest(EMobileBroadcastMessagingReceiveMessage);&lt;/p&gt;</description>
 <pubDate>Fri, 06 Jul 2007 23:39:48 +0200</pubDate>
 <dc:creator>Error</dc:creator>
 <guid isPermaLink="false">comment 39751 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-39515</link>
 <description>&lt;p&gt;Hi Mayur,&lt;/p&gt;

&lt;p&gt;Some useful information to share with all....&lt;/p&gt;

&lt;p&gt;I have tested your application successfully on &lt;span style=&quot;font-weight:bold&quot;&gt;Nokia 6600, 6670 and 6630 with Idea, Hutch and Airtel.&lt;/span&gt;  &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt; &lt;/p&gt;

&lt;p&gt;An important thing that I have found is that to get the location string immediately you need to do the following steps, it will surely give the location name within maximum 2-3 mins:&lt;/p&gt;

&lt;p&gt;---&gt; Set the &quot;Cell Info Display&quot; option on your phone &quot;Off&quot;.&lt;/p&gt;

&lt;p&gt;---&gt; Restart your phone.&lt;/p&gt;

&lt;p&gt;---&gt; Now start NetInfo and lo! you will get the location string sooner than you expected... &lt;img src=&quot;/sites/all/modules/smileys/packs/example/cool.png&quot; title=&quot;Cool&quot; alt=&quot;Cool&quot; /&gt; &lt;/p&gt;</description>
 <pubDate>Tue, 26 Jun 2007 07:08:11 +0200</pubDate>
 <dc:creator>jp4symbian</dc:creator>
 <guid isPermaLink="false">comment 39515 at http://www.newlc.com</guid>
</item>
<item>
 <title>Implementation with CActive</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-2816</link>
 <description>&lt;p&gt;Hi Mayur,&lt;br /&gt;
First of all thank u so much for this valuable code.&lt;br /&gt;
I am trying to implement it with CActive, but it is taking too long to fetch the Location Name. Most of the times it goes in an infinite wait state.&lt;/p&gt;

&lt;p&gt;So i thought of canceling the request and issuing it again repeatedly. But the request is not getting canceled at all!!&lt;/p&gt;

&lt;p&gt;Can u plz tell me what the problem is out here?&lt;/p&gt;

&lt;p&gt;Isn&#039;t it possible to cancel the request issued using &lt;span style=&quot;font-weight:bold&quot;&gt;ReceiveMessage&lt;/span&gt; as issued in ur code?&lt;/p&gt;</description>
 <pubDate>Thu, 19 Apr 2007 11:26:57 +0200</pubDate>
 <dc:creator>jp4symbian</dc:creator>
 <guid isPermaLink="false">comment 2816 at http://www.newlc.com</guid>
</item>
<item>
 <title>Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html#comment-2090</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;Can I implement  the above using Active Object ?&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;I tried it but could not succeed .&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Can any one help me .&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 22 Mar 2007 07:46:11 +0100</pubDate>
 <dc:creator>Prudvi Raju</dc:creator>
 <guid isPermaLink="false">comment 2090 at http://www.newlc.com</guid>
</item>
<item>
 <title>Mission Impossible : Getting the Location string.</title>
 <link>http://www.newlc.com/Mission-Impossible-Getting-the.html</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;There are many posts on this forum and other Symbian developer forums about getting the location string as shown on the Phone application. So I set myself with a mission to retrieve the location string....&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/Mission-Impossible-Getting-the.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/Mission-Impossible-Getting-the.html#comments</comments>
 <category domain="http://www.newlc.com/taxonomy/term/3">Coms &amp;amp; Network</category>
 <pubDate>Fri, 07 Jan 2005 12:04:54 +0100</pubDate>
 <dc:creator>mayur241</dc:creator>
 <guid isPermaLink="false">514 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
