Symbian OS s60 3rd编程中实现IMSI、IMEI查询
2010-06-19 04:22:00 来源:WEB开发网核心提示:User::LeaveIfError(typeFile.Open(fs, KPath, EFileShareReadersOnly));// Read from position 0: start of file myFile.Set(typeFile); myFile.Read(iPhoneType); // rea
User::LeaveIfError(typeFile.Open(fs, KPath, EFileShareReadersOnly));// Read from
position 0: start of file myFile.Set(typeFile); myFile.Read(iPhoneType); //
readBuf1 is now "write "fs.Close(); SetActive(); CActiveScheduler::Start();
}*//* * 拨打电话 * */void CMyTelephony::DialNewCall(const TDesC& aTelNumber) {
CTelephony::TTelNumber telNumber(aTelNumber); CTelephony::TCallParamsV1
callParams; callParams.iIdRestrict = CTelephony::ESendMyId;
CTelephony::TCallParamsV1Pckg callParamsPckg(callParams);
iTelephony->DialNewCall(iStatus, callParamsPckg, telNumber, iCallId);
SetActive(); }
如何使用:
#include "MyTelephony.h"...TBuf
向高手致敬!!
有关链接:http://discussion.forum.nokia.com/forum/showthread.php?t=95966
修改后加入了查询手机型号、IMEI、IMSI、拨打电话号码等有关硬件信息,后期将进一步维护更新中。
更多精彩
赞助商链接