hi Amit,

It's a bug in HTC tattoo.
In HTC tattoo it always send two messages.
the solution for this is you send the message as multiple sms


                SmsManager sms = SmsManager.getDefault();
                ArrayList<String> smstext = sms.divideMessage(body);

                /**
                 * will send a sms. sendMultipartTextMessage is used because in 
HTC
                 * tattoo will send 2 messages if you use sendTextMessage
                 */

                sms.sendMultipartTextMessage(phoneNumber, null, smstext,
listOfIntents,
                                listOfDeliverIntents);

cheers,
Mike

-- 
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