Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
shubhra
Posts: 39
Registered: 10-13-2009
Accepted Solution

Bug in RIM API 4.3.0 - PIN message detection?

When you register a lisenter to monitor for Incoming and outgoing PIN messages, In the callback you always get  message.getMessageType() = Email_Message and NOT PIN_Message whether the device gets/sends email or a PIN message.

 

I'm using JDE API version 4.3.0. Is this s known bug? Any workarounds to this?

 

Is there any authoritative answer?

Thanks.

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: 07-15-2008

Re: Bug in RIM API 4.3.0 - PIN message detection?

Check this thread.

 

http://supportforums.blackberry.com/t5/Java-Development/IS-this-a-known-bug-on-RIM-API/m-p/38415


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
shubhra
Posts: 39
Registered: 10-13-2009

Re: Bug in RIM API 4.3.0 - PIN message detection?

Thanks BBDeveloper.

 

I checked it. But in my case things are going wrong in v 4.3.0 as well (the post says that worng value is returned from 4.5.0 onwards). I just want to make it sure whether 4.3.0 is faulty?

 

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: 07-15-2008

Re: Bug in RIM API 4.3.0 - PIN message detection?

Have you got a chance to check on other versions.. 4.2 etc?


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
Developer
RexDoug
Posts: 4,649
Registered: 07-21-2008

Re: Bug in RIM API 4.3.0 - PIN message detection?

What is your test environment?

 

Please use plain text.
New Developer
shubhra
Posts: 39
Registered: 10-13-2009

Re: Bug in RIM API 4.3.0 - PIN message detection?

Thanks for your responses guys :-)

 

I'm coding on Eclipse and running the simulator using JDE. I use JDE 4.3.0 and when I attach the simulator to handheld (Bold device) and then send/receive PIN messages to/from another device, I see in debugging that the message.getMessageType() returned is always net.rim.blackberry.api.mail.Message.EMAIL_MESSAGE and never net.rim.blackberry.api.mail.Message.PIN_MESSAGE.  I'm using folder events to listen to messages.

 

I want to know if this a known problem in JDE 4.3.0 and what do I do about it? any workarounds/alternate solutions?

 

Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: 07-15-2008

Re: Bug in RIM API 4.3.0 - PIN message detection?

Is the device also running with the same OS version?

 

If you are trying to differentiate between use a work around like get the Message which has come and differentiate based on presence of @.


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
shubhra
Posts: 39
Registered: 10-13-2009

Re: Bug in RIM API 4.3.0 - PIN message detection?

I'm using Bold device whose OS version is 4.6 and the JDE version is 4.3. So the versions of JDE and device OS do not match.

 

Let me do that and then I'll tell you how much feasible it is.

 

Do tell me any more new appraoches/workarounds if any...

 

Thanks

Please use plain text.
Developer
RexDoug
Posts: 4,649
Registered: 07-21-2008

Re: Bug in RIM API 4.3.0 - PIN message detection?

This feature is broken in 4.5 and 4.6 OS - it has nothing to do with the JDE level.

 

If you compile on 4.3 and run on 4.6, you will see the issue.

 

Please use plain text.
New Developer
shubhra
Posts: 39
Registered: 10-13-2009

Re: Bug in RIM API 4.3.0 - PIN message detection?

Thanks RexDoug. You cleared my doubt.

Please use plain text.