Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
12-12-2008 09:31 AM
I was told that it's possible to be notified about incoming calls through global events, instead that through a PhoneListener.
Is that right? I'd like to know...event if it's not the "official", "documented" and "endorsed" solution...
If that's possible, what is the eventID and where do I find it listed and described somehow?
12-12-2008 10:00 AM - edited 12-12-2008 10:01 AM
Undocumented things can be changed by RIM without notice.
And in this case your application is going to be just a set of bytes, not a problem solution, but a troublemaker.
I do not recommend to rely on undocumented things. It can give you and your customers more pain rather than benefits.
12-12-2008 10:03 AM
ok, I understand that...but besides that...can that be done? How? Is there a event GUID for incoming calls?
PhoneListener and callIncoming is no good, because it arrives when the phone is already ringing...
12-12-2008 10:10 AM - edited 12-12-2008 10:14 AM
I never heard about such GlobalEvents.
Try to create a global event listener and log all events which occur when you make a test call on your device.
And inspect closely every global event UID according to javadoc.
Pay more attention on unknown and not documented uids.
If there are global events when your blackberry gets an incoming call - this approach should work for you. It can be tested on simulator and on real device.
12-12-2008 10:48 AM
12-12-2008 10:52 AM
what you suggest works like a charm on all simulators I tried...however it *doesn't* work the same on the real device. On the real device the phone rings for almost a second before the call is ended
That's why I want to experiment alternative solutions...