Sending SMS programmatically in 1.5 on CDMA device

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-03-10T18:42:32Z Indexed on 2010/06/06 0:22 UTC
Read the original article Hit count: 545

Filed under:
|
|
|
|

I am developing an application that relies heavily on sending SMS programmatically. I followed the examples released after 1.6 that demonstrate how to use an abstract class to implement sending for 1.5 and 1.6+.

I started getting complaints from some users about how it appears as though SMS should be sent but they are in fact not. It took be a while to realize what was going on, the one 1.5 test device I have is GSM. Of course it must be because the Sprint Hero is CDMA (running 1.5).

Regardless of message size I use the general form of:

  1. divideMessage() and
  2. sendMultipartTextMessage(destinationAddress, null, parts, null, null)

How can I successfully send an SMS in this case? Can I call sendTextMessage() a number of times? Also, I tried unsuccessfully to find the source for the Hero's Messenger/Conversations package or equivalent, if anyone knows where to find that that would be great.

© Stack Overflow or respective owner

Related posts about android

Related posts about sms