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
Contributor
vinaybhavsar17
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.

 

 

Please use plain text.
Contributor
vinaybhavsar17
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.

Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Contributor
demaniak
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.
Please use plain text.
Contributor
vinaybhavsar17
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

Please use plain text.
Contributor
demaniak
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)

Please use plain text.
Contributor
vinaybhavsar17
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

Please use plain text.