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

Android™ Runtime Development

Reply
las
New Contributor
las
Posts: 2
Registered: ‎04-23-2013
My Device: Blackberry X10

Send SMS and read SMS Inbox

Hi everybody, 

 

I would like to know if it is possible to read and send SMS in the upcoming update of the runtime for Android apps? 

 

If yes, what is the expected launch date for this update? 

 

Thank you. 

 

Please use plain text.
BlackBerry Development Advisor
bbenninger
Posts: 130
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Send SMS and read SMS Inbox

It is possible to launch the SMS compose screen via Intent.

 

SMSManager et.al are not supported however.  So you cannot send an SMS programatically, nor be notified of an incoming SMS programatically.

Please use plain text.
las
New Contributor
las
Posts: 2
Registered: ‎04-23-2013
My Device: Blackberry X10

Re: Send SMS and read SMS Inbox

I already know that is possible to launch the sms compose screen but I would like to know if one day it will be possible to send an SMS programatically.

Please use plain text.
BlackBerry Development Advisor
bbenninger
Posts: 130
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Send SMS and read SMS Inbox

It's tough to say when "one day..." it'll be supported but it is definitely a known limitation.

 

Part of the problem is that there isn't quite an equivalent native API.  I believe the native api lets you send easily enough (so the mapping would be 1-1) but on the native side for incoming I believe it requires you to specify from which source, and that doesn't align with how incoming is supported in Android (you don't registered from which source, you just get access to all incoming).

 

Feel free to correct me if I'm wrong, but that's my understanding.

Please use plain text.