Hi All,
My previous problem (on Data Scheme thread) is solved now. Here is what I've
done:
Database.java: Line 193:
if (msg.getEncoding() == MessageEncodings.ENC8BIT)
{
StringBuffer buf = new StringBuffer(512);
InboundBinaryMessage bMsg = (InboundBinaryMessage) msg;
byte[] bytes = bMsg.getDataBytes();
for (int i = 0; i < bytes.length; i ++)
buf.append(Integer.toHexString(bytes[i]));
//rs.updateString("text", buf.toString()); <--- the
buf.toString() is different with msg.getPduUserData()
rs.updateString("text", msg.getPduUserData());
}
Thanks for your time.
Aryo Sanjaya
http://facebook.aryosanjaya.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SMSLib User Group" 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/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---