Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 07:15, 6 January 2008.

Retrieving Phone's Manufacturer ,Model & IMEI number in Symbian

From Forum Nokia Wiki

/* pointer to the telephony*/
CTelephony* iTel;
 
/* For holding information */
CTelephony:: TPhoneIdV1Pckg iInfoPkg;
CTelephony:: TPhoneIdV1 iInfo;
 
//Async request for retrieving phone information
iTel=CTelephony::NewL();
iTel->GetPhoneId(iStatus,iInfoPkg);
SetActive();
 
 
void CPhoneInfo :: RunL()
{
	switch(iStatus.Int())
	{
		case KErrNone:
		{
		    //All information recieved
		    TBuf<CTelephony::KPhoneManufacturerIdSize +
 CTelephony::KPhoneModelIdSize + CTelephony::KPhoneSerialNumberSize> phoneInfo;
			phoneInfo.Copy(iInfo.iManufacturer);
			phoneInfo.Append(iInfo.iModel);
                        phoneInfo.Append(iInfo.iSerialNumber);
		}
		break;
		default:
		{
			//Return error
		}
		break;
	}
}
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX