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


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.


Reply
Contributor
Posts: 25
Registered: ‎02-21-2011
My Device: Not Specified

Use SMS to notify an application

I want to use SMS to notify my app instead of push notification.

 

I am referring to http://supportforums.blackberry.com/t5/Java-Development/Use-SMS-to-notify-an-application/ta-p/444965... for the solution and it looks like very much possible easily but I have no idea, how to configure an SMS at server end.

 

By reading the suggested article, I came to know that I need to edit the header properties of a message before sending it. But I am using the SMS gateway API to send SMS from server and I couldn't found any API which allows to edit the header. I am using http://www.intellisms.co.uk/ gateway API. Can anyone suggest any API which allows header editing? The API should be able to send SMS in Nigeria.

 

Thank You.

 

 

Contributor
Posts: 25
Registered: ‎02-21-2011
My Device: Not Specified

Re: Use SMS to notify an application

Is there anybody who can shed some light on to this?

I am in a hurry to implement this.

Highlighted
Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Use SMS to notify an application

sorry, no experience with this, and i don't know anybody who has.

you can intercept "normal" sms messages as well as far as i know, maybe you use some key wording in the title or body to identify 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
Contributor
Posts: 34
Registered: ‎07-05-2011
My Device: Various
My Carrier: Generic

Re: Use SMS to notify an application

Hi - from what I remember form using SMPP, there is not much you can customize header wise in a SMS message. simon_hain's suggestion of some special keyword in the SMS is probably your best best.
Contributor
Posts: 25
Registered: ‎02-21-2011
My Device: Not Specified

Re: Use SMS to notify an application

Thank You guys for your reply but I need to block that SMS from getting saved into inbox.

Is there any alternate way to delete the SMS from inbox after identifying it?

 

Thanks

Contributor
Posts: 34
Registered: ‎07-05-2011
My Device: Various
My Carrier: Generic

Re: Use SMS to notify an application

Hm, shooting from the hip here, but have you looked at the SMS listener demo (you should be able to import it in Eclipse without much issue).

 

You can intercept SMS messages with that, BUT I'm not sure if you can delete them (CAN do it with email though).

One of the gotcha's however is that only one app can listen on that port (the SMS port) at a time (IF I remember correctly).

 

The link you provided above is unfortunately giving an error, so I can see what they did there (so sorry if I'm repeating stuff)

Contributor
Posts: 25
Registered: ‎02-21-2011
My Device: Not Specified

Re: Use SMS to notify an application

I found this API https://bulksms.vsms.net/docs/eapi/submission/send_sms/#protocol_id

It allows to send data coding & protocol id as optional parameters, which i actually need. But I am not sure what value should I pass.

 

Is there anyone from BlackBerry who can help me here? I want to implement

 

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

 

using

 

this https://bulksms.vsms.net/docs/eapi/submission/send_sms/#protocol_id

 

API

 

Thank you