WEB开发网
开发学院手机开发Symbian 开发 Symbian 3rd 模拟挂机的实现 阅读

Symbian 3rd 模拟挂机的实现

 2010-03-22 16:24:00 来源:WEB开发网   
核心提示:void HangUpCall(){RWsSession ws;ws.Connect();TRawEvent ev1;ev1.Set(TRawEvent::EKeyDown, EStdKeyNo);ws.SimulateRawEvent(ev1); // CAPABILITY Req. SwEventUser::Aft

void HangUpCall()

{

RWsSession ws;

ws.Connect();

TRawEvent ev1;

ev1.Set(TRawEvent::EKeyDown, EStdKeyNo);

ws.SimulateRawEvent(ev1); // CAPABILITY Req. SwEvent

User::After(1000000);

TRawEvent ev2;

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

ws.SimulateRawEvent(ev2); // CAPABILITY Req. SwEvent

ws.Close();

}

Tags:Symbian rd 模拟

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