How to get IMEI number in s60 3rd edition

Login to reply to this topic.
Wed, 2007-05-16 08:44
Joined: 2007-05-07
Forum posts: 10
Hi all

I am using below code for getting the IMEI number in series 60 2nd edition. What is the method to get the same for s60 3rd edition handsets.

#include <plpvariant.h>
void DeviceUtils::GetImei(TDes& aImei)
{
#ifndef __WINS__
  // This only works on target machine
  TPlpVariantMachineId imei;
  PlpVariant::GetMachineIdL(imei);
  aImei.Copy(imei);
#else
  // Return a fake IMEI when working on emulator
  _LIT(KEmulatorImei, "000000000000000");
  aImei.Copy(KEmulatorImei);
#endif
}

Thanks
Ravi

Wed, 2007-05-16 11:34
Joined: 2006-01-25
Forum posts: 24
Re: How to get IMEI number in s60 3rd edition
SDK help has an example to get IMEI in 3rd edition phone. Search CTelephony::GetPhoneId in SDK help
Thu, 2007-05-17 13:02
Joined: 2006-08-02
Forum posts: 24
Re: How to get IMEI number in s60 3rd edition

Symbian Develpoer

Fri, 2007-05-18 06:41
Joined: 2007-05-07
Forum posts: 10
Re: How to get IMEI number in s60 3rd edition
Thx buddy i will try to incorporate the same in my application

Thanks
Ravi
  • Login to reply to this topic.