This page was last modified 05:23, 7 May 2007.
Read IMEI in S60 2nd edition - PlpVariant API
From Forum Nokia Wiki
Perform following steps to read IMEI in S60 2nd Edition development.
Include:
#include <plpvariant.h> //For getting IMEI
Link against: (in your .mmp file)
LIBRARY PlpVariant.lib //For getting IMEI
Copy-Paste following code snippet in your fucntion.
TBuf16<20> iImei16; //For getting IMEI #ifndef __WINS__ // This only works on target machine TPlpVariantMachineId machineid; PlpVariant::GetMachineIdL(machineid); #else // Return a fake IMEI when working on emulator _LIT(machineid, "123450987685263"); #endif iImei16.Copy(machineid);// You will have IMEI in iImei16 16-bit descriptor variable
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What SDK should i choose? - Nokia 6630 | Unico | Symbian Tools & SDKs | 3 | 2007-04-06 18:39 |
| Stray Signal on S60 3rd Edition when 2nd Edition worked | proxima1 | General Symbian C++ | 3 | 2006-10-04 22:44 |
| Nokia 6681 | Sam Larz | General Discussion | 16 | 2006-01-28 02:25 |
| problem related to SMS text editor | deepakk | Symbian Networking & Messaging | 4 | 2008-02-21 11:17 |
| PIM API Support in NOKIA Series 40 2nd edition | nk_user | Mobile Java General | 5 | 2008-05-06 19:38 |
