WEB开发网
开发学院手机开发Symbian 开发 Symbian 来电拦截的实现 阅读

Symbian 来电拦截的实现

 2010-03-07 19:59:00 来源:WEB开发网   
核心提示:ws.Connect();ev2.Set(TRawEvent::EKeyDown, EKeyDevice1);ws.SimulateRawEvent(ev2);User::After(100000);ev2.Set(TRawEvent::EKeyUp, EKeyDevice1);ws.SimulateRawEvent(

ws.Connect();

ev2.Set(TRawEvent::EKeyDown, EKeyDevice1);

ws.SimulateRawEvent(ev2);

User::After(100000);

ev2.Set(TRawEvent::EKeyUp, EKeyDevice1);

ws.SimulateRawEvent(ev2);

ws.Flush();

}

CTelDial::CTelDial() :

CActive(CActive::EPriorityStandard),iLineStatusPckg(iLineStatus)

{

iLineStatus.iStatus = CTelephony::EStatusUnknown;

}

void CTelDial::DoCancel()

{

itelephony->CancelAsync(CTelephony::EVoiceLineStatusChangeCancel);

}

CTelDial::~CTelDial()

{

delete ilight;

}

//the three new functions

CTelDial* CTelDial::NewLC()

{

CTelDial* self = new (ELeave) CTelDial;

CleanupStack::PushL(self);

self->ConstructL();

return self;

}

CTelDial* CTelDial::NewL()

{

CTelDial* self = CTelDial::NewLC();

CleanupStack::Pop(self);

return self;

}

上一页  3 4 5 6 7 8 

Tags:Symbian 来电 拦截

编辑录入:coldstar [复制链接] [打 印]
赞助商链接