in the txt  the message
"20110506 14:55:30
sento +41797991163
text  Iteration 2555 of 5000, no error"
and the getText() is belong to which classs? i used msg,getText() in
the loop for,but why i can't use msg.getText() out of the loop?

for (InboundMessage msg : msgList)
                        {

                                System.out.println(msg.getText());
                                megText = msg.getText();        //get the 
message unread,and return the
msgText
                                System.out.println(megText);
                        }

On 11月29日, 下午10时53分, Marcos Truchado <[email protected]>
wrote:
> One hint
>
> Be sure that your message is *not* of the type binary message before,
> otherwise you will get a nice exception if you try to use the getText()
> message.
>
> Best regards.
>
> Marcos.
>
>
>
>
>
>
>
> On Tue, Nov 29, 2011 at 10:41 PM, T.Delenikas <[email protected]> wrote:
> > Use the getText() method of the InboundMessage object.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "SMSLib Discussion Group" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/smslib/-/Dn72dInwoEYJ.
>
> > 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.

-- 
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].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to