c++ - integrating my application with Call log core application in BlackBerry10? -
i writing 1 application in want integrate application core application- call log or phone . want call history in application . have gone through blackberry's official doc theres no sample app call log integration .
i new blackberry 10 .so please tell me how should ? please me out.
as of moment there no calllog or callhistory api, extract calllogs in 1 shot.
another option listen calls. record call gets made , store information it. app have open when call made, record it.
so have write history yourself.
if interests you,
you need class has slot:
public slots: void callupdated(const bb::system::phone::call &call);
you connect slot retrieve updates calls:
calllistener *calllistener = new calllistener(); bb::system::phone::phone *m_phone = new bb::system::phone::phone(); qobject::connect(m_phone,signal(callupdated(bb::system::phone::call)),calllistener,slot(callupdated(bb::system::phone::call)));
i see new bb, above code brief example point in right direction. if logic interest you, write comment , ill adjust answer more details.
hope helps.
Comments
Post a Comment