Hi friends,
I am doing an application where I need to lock Phone call key for few seconds. Does anybody know how to lock the Phone call key? Please tell me if you have any ideas on this...
Thanks in advance.
Regards,
ash_21.
Hi friends,
I am doing an application where I need to lock Phone call key for few seconds. Does anybody know how to lock the Phone call key? Please tell me if you have any ideas on this...
Thanks in advance.
Regards,
ash_21.
Life is Short..... Live it with Positive Attitude...
Use this function in the AppUi so that u can handle the call key
void HandleWsEventL(const TWsEvent &aEvent,CCoeControl *aDestination)//native function
{
TInt key = aEvent.Key()->iScanCode;
if(EStdKeyYes == key && aEvent.Type() == EEventKeyDown)//Green Key
{
Handle the required event
return;
}
}
Please let me know if you have any more issue and hope so your problem will be fixed
Thanks mayank for your valuable reply. I searched a lot on this issue but didnt get specified information. My problem is that my application is getting panic if I make multiple call at a time. So i just want to give some time delay & for that purpose I want to lock key for few seconds.
If you have any idea on this issue pls let me know I will work on that.
Thanks once again.
Life is Short..... Live it with Positive Attitude...
But then thats not really related to the call key per se, you have to check in your code/add logic to ensure that you dont make too many calls too fast/or see if there are any logical gaps/memory leaks etc if you make calls fast enough. Coz even if you block the call key what if the user makes call from the native contacts app using the Call option from the menu..?
Search for key capture on wiki and you will get the links.
Cheers,
Mayank
Well unless you detail the exact error/issue u r facing, even if I have idea about TAPATask I am afraid it wont be of much use to u.
Cheers,
Mayank
My issue is that when I am forwarding my data to the server for the first time it's going properly but when I make multiple call operations (outgoing) my GPRS connection is getting deactivated when my application is in hidden state. But when I make it visible in Menubar then my application is working properly with the logic I have developed.
Also I am getting sometimes User 42 error.
I hope you get an idea about my problem.
Waiting for your reply.
Thanks.
Life is Short..... Live it with Positive Attitude...