Overriding Incoming Call Dialog

Login to reply to this topic.
Fri, 2007-08-03 10:28
Joined: 2007-07-03
Forum posts: 43

Hi Smiling

I am trying to display a note when any incoming call comes.
I am using RWindowGroup class to play with this task.Displaying an information note is not working.
Then I decided to draw some bitmaps using RWindowGroup APIs..
But still wondering,why InfoWinL dialog is not coming to foreground even though m brining my app to foreground..
but bitmap is coming and m making it as a flaoting icons...
But I am not finding a proper way to do..
I jsut want to display an note like
Welcome
Calling

and ownership should be given to only native phone application.
With current implementation ownership is not a problem as user can using red and green button without handling it an applicaiton.

Any idea. Laughing out loud Puzzled
Then I decided to play a video file its playing perfectly fine..but now problem is I want to give ownership to my application for that I want to
show my applications menu...which is not visible. Cool


------------------
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.


Mon, 2007-08-06 10:21
Forum Nokia Champion
Joined: 2004-05-26
Forum posts: 732
Re: Overriding Incoming Call Dialog

But still wondering,why InfoWinL dialog is not coming to foreground even though m brining my app to foreground..

You may use the Global Notes for showing a dialog even if your application is running in background on S60

Overriding Incoming Call Dialog

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.


Tue, 2007-08-14 13:20
Joined: 2007-07-03
Forum posts: 43
Re: Overriding Incoming Call Dialog

Thanks Smiling

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.

Sat, 2007-08-18 15:30
Joined: 2006-12-15
Forum posts: 45
Re: Overriding Incoming Call Dialog

Very useful information by vin2talks. Thanks a lot Smiling

Regards,

Tushar


Tushar Bhattacharyya

Mon, 2007-08-20 10:38
Joined: 2007-07-03
Forum posts: 43
Re: Overriding Incoming Call Dialog

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.

Wed, 2007-08-22 06:38
Forum Nokia Champion
Joined: 2004-05-26
Forum posts: 732
Re: Overriding Incoming Call Dialog

Hi Willi, I would request you to add this code as an article on FN Wiki.


Wed, 2007-08-22 06:55
Joined: 2007-07-03
Forum posts: 43
Re: Overriding Incoming Call Dialog

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.

Mon, 2008-06-02 05:38
Joined: 2008-04-16
Forum posts: 24
Re: Overriding Incoming Call Dialog

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

Mon, 2008-06-02 06:12
Joined: 2008-01-16
Forum posts: 142
Re: Overriding Incoming Call Dialog

Hi arumilli,

check your mmp have you included

ws32.lib


Thanks & Regards,
Md.Khalid Ahmad

Mon, 2008-06-02 06:58
Joined: 2008-04-16
Forum posts: 24
Re: Overriding Incoming Call Dialog

yah i included ws32.lib

Mon, 2008-08-11 06:03
Joined: 2006-11-22
Forum posts: 44
Re: Overriding Incoming Call Dialog

Hi Willi,

is it possible to display any kind of window/app behind the incoming call window??

Mon, 2008-08-11 06:06
Joined: 2006-11-22
Forum posts: 44
Re: Overriding Incoming Call Dialog

Hi Willi,

is it possible to display any kind of window/app behind the incoming call window??

  • Login to reply to this topic.