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
anta40
Posts: 224
Registered: ‎07-26-2010
My Device: Z10
My Carrier: Telkomsel

Simulating SMS to notify an application?

I'd like to use SMS notify my app, and I don't want those message to appear in the devices' inbox.

This article states that this is possible.

 

Can I test that using simulator?

I also found a sample in \components\samples\com\rim\samples\server\smsdemo. But that's a loopback server, unfortunately.

 

What I'm looking for is how to send message from server to device, using the setting explained in that article.

Please use plain text.
Developer
simon_hain
Posts: 16,101
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Simulating SMS to notify an application?

i think you can start two simulators and send sms messages between them.

see
http://supportforums.blackberry.com/t5/Java-Development/Receiving-SMS-messages-on-simulator/m-p/5257...
for example.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
anta40
Posts: 224
Registered: ‎07-26-2010
My Device: Z10
My Carrier: Telkomsel

Re: Simulating SMS to notify an application?

Actually I'm not looking for how to send SMS between simulators. What I'm looking for is how to send SMS from server to device, because a special setting on the server side is required, and whether this is possible to run on simulator or not.

 

To prevent this message from appearing in the BlackBerry device user’s inbox, the sending server should configure the SMS message so that the message type is a system message. This message type can be defined by setting the Protocol Identifier (TP-PID) to 64 (0x40), and the Digital Coding Scheme (TP-DCS) to 244 (0xF4), as shown below:

07913180998000F0040491369740F43080224100238A1168656C6
C6F62696E61727974706964363



http://supportforums.blackberry.com/t5/Java-Development/Use-SMS-to-notify-an-application/ta-p/444965

 

Hopefully I don't misunderstand you :smileyhappy:

Please use plain text.
Developer
simon_hain
Posts: 16,101
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Simulating SMS to notify an application?

well, in this case, i have no clue about sms servers. i guess usually the providers have them?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
anta40
Posts: 224
Registered: ‎07-26-2010
My Device: Z10
My Carrier: Telkomsel

Re: Simulating SMS to notify an application?

[ Edited ]

Yeah, I have no clue as well.

 

I did some Googling, and I found that you can build a simple SMS gateway using gammu, Apache + PHP + MySQL (for the web interface), and a phone/modem.

 

I'll see what I can do, then.

 

 

Please use plain text.
New Developer
shivam284
Posts: 108
Registered: ‎01-23-2012
My Device: torch,bold,curve,strom
My Carrier: Blackberry

Re: Simulating SMS to notify an application?

Hi all

 

can we check that our SMS successfully send or not I means to say can we know our delivery report of msg via pragmatically.

Thanks & Regards,
Kumar Shivam
Please use plain text.
Developer
simon_hain
Posts: 16,101
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Simulating SMS to notify an application?

please create an own thread for your question
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.