If the message dump is marked as 8bit, then its indeed 8bit. There is
no casting error.
I don't know what is the actual content of the message, so I can't
really say if it would be safe to convert yourself...


On Jun 30, 6:48 pm, bigedo <[email protected]> wrote:
> Wait i jus realize
>
> =========================================================================== 
> ====
> << InboundBinaryMessage >>
> --------------------------------------------------------------------------- 
> ----
>  Gateway Id: modem.com4
>  Encoding: 8-bit
>  Date: Tue Jun 30 22:46:02 ICT 2009
>  Binary: 526567206A6D6A746A6D74A3
>  Originator: 02292298913
>  Memory Index: 1
>  Multi-part Memory Index:
>  Memory Location: SM
>  Source / Destination Ports: -1 / -1
> =========================================================================== 
> ====
>
> i got inbound binary message....that's strange i used inboundmessage
> class not inboundbinarymessage (CMIIW) now i receive binary
> message....is there any way to get the Binary and convert it to
> String?
> On Jun 30, 6:22 pm, bigedo <[email protected]> wrote:
>
>
>
> > i use the method for a text message...i know that coz i am the one who
> > send message.....about binary .... is there any way to know what is my
> > message data type?
>
> > On Jun 30, 11:40 am, Thanasis <[email protected]> wrote:
>
> > > You have probably called the getText() method for a non-text message
> > > or a binary message.
>
> > > On Jun 30, 1:58 am, bigedo <[email protected]> wrote:
>
> > > > can someone help me..?
> > > > before there is no problem using smslib...read message and send
> > > > message working perfectly....
>
> > > > but suddenly when i run my code....this error message comes out
> > > > "java.lang.RuntimeException: getText() not supported"
>
> > > > i've tried running the examples ReadMesages and it give same error
> > > > "java.lang.RuntimeException: getText() not supported"
>
> > > > i dont know what happen it just doing fine before....but know i keep
> > > > get that error.....
>
> > > > please someone help me.
>
> > > > btw i;m using modem Solomon SEGM-520C
--~--~---------~--~----~------------~-------~--~----~
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