Hi all,

i'm trying to send 2 line of sms with this code

String messageToSent = "Some line\nAnother line";

SmsManager sms = SmsManager.getDefault();
                System.out.println("Sending SMS to: " + phoneNumber + ", 
message: "
                                + messageToSent);
                sms.sendTextMessage(number.getPhoneNumber(), null, 
messageToSent,
null,
                                null);

but the the new line is not exist.. could anyone please tell me how to
insert new line (carriage return) in sms ?

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

Reply via email to