Overriding Incoming Call Dialog
| Fri, 2007-08-03 10:28 | |
|
Hi I am trying to display a note when any incoming call comes. and ownership should be given to only native phone application. Any idea. ------------------ There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone. |
|






Forum posts: 732
You may use the Global Notes for showing a dialog even if your application is running in background on S60
To suppress the S60 call note (generally we can suppress all the global notes) using the RAknKeylock2::EnableSoftNotofications(), you may even refer the RAknKeylock2::CancelAllNotifications(), don't link this with the first mentioned solution. In this case you may first suppress the global notes and then make your application on the foreground and show the incoming call notes to the user.
Forum posts: 43
Thanks
It works -:)
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.
Forum posts: 45
Very useful information by vin2talks. Thanks a lot
Regards,
Tushar
Tushar Bhattacharyya
Forum posts: 43
Hi Tushar and vin2talks,
There is another method too
after detecting incoming call ,write these code snippet
RWindowGroup *pWG = &CCoeEnv::Static()->RootWin();pWG->SetOrdinalPosition(0, 2000);
CAknInformationNote* informationNote;
informationNote = new ( ELeave ) CAknInformationNote;
TBuf16<30>message;
message.ZeroTerminate();
message.Copy(_L("Calling"));
message.Append(aNumber);
informationNote->ExecuteLD(message);
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.
Forum posts: 732
Hi Willi, I would request you to add this code as an article on FN Wiki.
Forum posts: 43
Yeah sure.
Once I will prepare the content I will post the same.
Regards
------------------
Bhatt Kavita,
There is always a direct response from the definite intelligence of your subconcious mind to your concious thinking.If you ask for bread you will not recieve a stone.
Forum posts: 24
i tried this code
RWindowGroup *pWG = &CCoeEnv::Static()->RootWin();
pWG->SetOrdinalPosition(0, 2000);
CAknInformationNote* informationNote;
informationNote = new ( ELeave ) CAknInformationNote;
TBuf16<30>message;
message.ZeroTerminate();
message.Copy(_L("Calling"));
message.Append(aNumber);
informationNote->ExecuteLD(message);
iam geeting an error
Undefined symbol: 'void RWindowTreeNode::SetOrdinalPosition(int, int) (?SetOrdinalPosition@RWindowTreeNode@@QAEXHH@Z)'[]
how can i slove this
thank u
sree
Forum posts: 142
Hi arumilli,
check your mmp have you included
Thanks & Regards,
Md.Khalid Ahmad
Forum posts: 24
yah i included ws32.lib
Forum posts: 44
Hi Willi,
is it possible to display any kind of window/app behind the incoming call window??
Forum posts: 44
Hi Willi,
is it possible to display any kind of window/app behind the incoming call window??