Hello there, in my app I need to be able to send a text message in a
background, without any user intervention. I found a way to do that using
SmsManager (code below). It sure does send a message but the popup asking me
to choose a delivery method still shows up (even after the message is sent).
Is there a way for me to avoid displaying this popup while sending text
message? Also when I use text messaging as my default method I get presented
with a blank form to send an actual text message but the message gets sent
in the background. Is it possible to hide/omit that? Perhaps there is
another way to send text messages that I don't know about?

 

Any help is greatly appreciated.

 

SmsManager sm = SmsManager.getDefault(); 

sm.sendTextMessage(number, null, message, null, null);

 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to