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
myraddin
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. :smileysad: 

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"
Please use plain text.
Developer
RexDoug
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!

:smileyhappy:

Please use plain text.