1. In my application , I am capturing long key press event for Call end key and Number keys
2. Consider a use case :iHandle1 =iWg.CaptureKey(aKeyCode,0,0);
While doing long key press for CallEndKey (Red Key / No Key) , 10 sec ,suppose there is an incoming call
Case 1: Suppose I keep on pressing call end key , for completing 10 sec , I got a error message like "CaptureKey Application is already in use " and the application leaves .
Case 2 : If release the call end key and respond to incoming call (either receive / silent / end call anything ) , nothing wrong happens with capture key application.
3. Instead call end key , if I use any other number key eg. 5 , then there is no problem for key press
even if for any coming call. Log key press is detected and processed with next task smoothly.
4. Conclusion : there is problem with only "CallEndKey"
Please help if anybody has any idea ....Because Call end key needed by high priority task of "Incoming call" !!!
Probably because of that my capture key application not able to caught long key press event.
So what priority I can use , so that my application pause when there is incoming call,
I don't want it to leave / stop if incoming call is there....It's ok if it doesn't capture call
end key at that time.