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

Native Development

Reply
Developer
Posts: 29
Registered: ‎03-03-2013
My Device: Z10, Q10, Bold 9900, Bold 9700
My Carrier: Rogers
Accepted Solution

Sending BBM/SMS messages after an event takes place

I'm making an application that would require for BBM/SMS messages to be sent to specified contacts once an event takes place on the device.  For example, the user has the application setup to run in the background, and when a certain time passes, to send a BBM, SMS, or email message with a predefined body to receipients chosen in advance by the user.  Is there any way to do this?

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Sending BBM/SMS messages after an event takes place

You cannot programmatically send BBM messages.  You can invoke BBM using the invocation framework with a pre-populated message for the user to send.  But the user still has to press the send button.   You can send SMS messages directly from your application though.  

 

Also note that full background applications are not yet supported.  If the user starts the application and it remains running, it could send SMS message.  But it would need to remain running (shown in the running applications list).

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Contributor
Posts: 41
Registered: ‎09-13-2011
My Device: BlackBerry Z10 Limited Edition
My Carrier: TIM - Italy

Re: Sending BBM/SMS messages after an event takes place

Hi Mark ,

any news to send BBM  messagge programmatically?

I have an application stopped for this. 

Please at least provide some more information about this argument.

 

Luca

 

Highlighted
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Sending BBM/SMS messages after an event takes place

With BlackBerry 10.2.1 applications will be able to run in the background.  More details are here:  Headless application

 

BBM features described in my post above are still valid.  You can't send BBM messages programmatically without user intervention.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker