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: 192
Registered: ‎01-12-2010
My Device: Bold
My Carrier: ZAIN

Send messages to BB using the PIN

Dear Guys,

I have question.

 

I have a requirement to create an application which sends messages to other blackberries using th PIN.i have the list of all the PIN's

 

Can someone please point me in the right direction to achieve this.

 

Rgds

Nadir Firfire

 

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Send messages to BB using the PIN

You create a Message object and add the address using PINAddress (rather than an email address).

 

You then send the message using the Transport class, or you can do it with user intervention by using Invoke and passing the message object.

 

See Transport, Message, and Invoke in the javadocs.

 

Developer
Posts: 192
Registered: ‎01-12-2010
My Device: Bold
My Carrier: ZAIN

Re: Send messages to BB using the PIN

Hi,

One more question out of curiosity can i test it on the simulator device since it requires signed API's to run the Device.

 

Rgds

Nadir

Developer
Posts: 192
Registered: ‎01-12-2010
My Device: Bold
My Carrier: ZAIN

Re: Send messages to BB using the PIN

well i just read about it and we cannot test PIN messages on simulators.

rgds

Nadir