I try 

        OutboundMessage msg = new OutboundMessage("7908009****", (new 
String("123456789012345678901234567890123456789012345678901234567890123456789-".getBytes("UTF-16BE"))));
        msg.setFrom("21011");
        msg.setEncoding(Message.MessageEncodings.ENCUCS2);
        msg.setStatusReport(true);

        OutboundMessage msg2 = new OutboundMessage("7908009****",  (new 
String("= hello part 2 
67890123456789012345678901234567890123456789-".getBytes("UTF-16BE"))) );
        msg2.setFrom("21011");
        msg2.setEncoding(Message.MessageEncodings.ENCUCS2);
        msg2.setStatusReport(true);

        List<OutboundMessage> outboundMessages = new 
ArrayList<OutboundMessage>();

and get two separate messages in my phone.

Any ideas?
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/mfbGEVlqVOAJ.
For more options, visit https://groups.google.com/groups/opt_out.


  • [smslib] Pease post ex... SMSLib Discussion Group on behalf of Eugene Semenov

Reply via email to