I have HTC Tattoo with Android 1.6. I have maed a Java program for SMS sending. I got the source on the Internet, I think, versions before 1.6. The problem is: SMSs are sen
HTC Tattoo has a bug in sendTextMessage
. Instead, you can use sendMultipartTextMessage
.
Cytown is 100% correct. I got a HTC Tattoo with 1.6 and can confirm that it's working.
My code:
public void onClick(View v) {
SmsManager sms = SmsManager.getDefault();
ArrayList<String> smstext = sms.divideMessage("asdfasdf");
sms.sendMultipartTextMessage("5556", null, smstext, null, null);
}