Rev. 1885 - http://code.google.com/p/smslib/source/detail?r=1885

On Apr 19, 5:53 pm, Thanasis <[email protected]> wrote:
> Thank you - will review and add to repo.
>
> On Apr 18, 4:32 am, Aryo Sanjaya <[email protected]> wrote:
>
>
>
> > 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 Sanjayahttp://facebook.aryosanjaya.net- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to