Server send sms with pipe separator('|') but when receive sms from my Apps it replace the pipe character with escape & ampesand.
The code is given below :
Datagram d = _dc.newDatagram(_dc.getMaximumLength()); _dc.receive(d); Controller.trace("RTTSMSListener - receiving an SMS"); byte bytes[] = d.getData(); address = d.getAddress(); msg = new String(bytes);//, "UTF8");//, "UTF8");
Pls suggest if you have any idea about the question.
Thanks and regards. Mintu