07-14-2008 09:19 AM
Post from Guest on the previous forum:
Hello,
how often is this method from the PhoneListener executed when a call is received:
public void callIncoming(int callId){
//code
}
? It looks like if it is executed more then once when a call is received.
If you put System.out.println("Executed----->"); into the method, it gets printed more then once for each call.
Does anyone know about this?
My Reply:
The callIncoming method should only be called once. Please verify that you have not accidently registered 2 PhoneListeners that are both firing when an incoming call arrives. If this is not the case, please provide the BlackBerry model and handheld software version you are testing with. This can be found under Options, About on the BlackBerry.