Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 142
Registered: ‎12-15-2008
My Device: Not Specified

How do I remove AbstractPhoneListener?

My app exits with a System.exit(0) in the callIncoming() method when a call is received. I'm having trouble trying to figure out how to remove my AbstractPhoneListener. How can I do this?

Thank you.
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How do I remove AbstractPhoneListener?

the same way you add it.
you use Phone.addPhoneListener to set it and Phone.removePhoneListener to remove it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter