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

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.

Posts: 412
Registered: ‎09-12-2008
My Device: 9000 9810

Device vs Simulator 1:0 (PhoneListener)

[ Edited ]

Hi all.


I just wanted to cry out a warning of caution to anyone using PhoneListener interface. (and possibly other interfaces)


After a lot of effort I discovered that the device (in this case 8110 v4.3.0.93) behaves differently than the 8110 simulator v2.9.0.52.


The first thing that caused me a headache is the fact that if a user terminates a call in the Simulator, the next event handler will be callDisconnected() while on the Device a callFailed() will be triggered!


It seems that their 'state machines' are not in sync. Smiley Sad 

This causes a lot of trouble for my development because the sequence of events is very important (I also have my own state machine).

Who knows what will the behavior be like on (for instance) 8300 !! ??


This means that development must be checked on each bb series and (possibly) even OS version !!


Does anyone have any deeper insight on the issue ?


(I would really like my application to be device independent, but this unstandardized behavior will spawn a lot of tricks, hacks and tweaks depending on the Target and OS version.)


Message Edited by myraddin on 11-04-2008 02:23 PM

"Listen carefully, I shall say this only once"
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Device vs Simulator 1:0 (PhoneListener)

Welcome to the exciting world of BlackBerry Development!

Smiley Happy