thanks sir, but how to remove the logger from the command display?
oh yah it sounds funny but how to make the custom inbound (ex: just show an
date in system.out.println())
which in the ReadMessage that need to changed?
does this one? msgList = new ArrayList<InboundMessage>();?
change to?
i'm very thankfull for your help. :) oh yah and last how to make an equal
from
if(msg.MessageStatuses().equals("SEND"))
{
System.out.println("OK");
}
//the code above didn't make a compare between the message status with the
string i provide.
Thanks very very very much.
On Thu, Jul 16, 2009 at 12:16 PM, Thanasis <[email protected]> wrote:
>
> The ReadMessages is just an example, which uses the default toString()
> method of the InboundMessage object.
>
> You can remark all code and add yours. Use the message object's getter
> methods in order to printout whatever you want.
>
> On Jul 16, 8:01 am, Hendra <[email protected]> wrote:
> > like this sir Thanasis, the default application from the example will
> > System.out.println() the default message to command prompt/console, i
> want
> > to format that message, the default will launch a logger message with
> date
> > and info, then if i use the ReadMessage example than the format will be
> > --------------------------------
> > inbount message
> > -----------------------
> > date : bla9x
> > text : bla9x
> > and etc
> > ---------------------------
> > i want to reformat the messages, can i do this? and how to remove the
> logger
> > message?
> >
> >
> >
> >
> >
> > On Thu, Jul 16, 2009 at 2:30 AM, Thanasis <[email protected]> wrote:
> >
> > > I am sorry, did not understand your request.
> > > What exactly are you trying to do?
> >
> > > On Jul 15, 9:06 pm, Hendra Cengala <[email protected]> wrote:
> > > > hai everybody, i'm a newbie in SMSLib, i want to know how to make a
> > > > custom message, because my older program read the cmdprompt with it's
> > > > own format.
> >
> > > > i want to make like this format
> > > > Location 1, folder "Inbox", SIM memory, Inbox folder
> >
> > > > SMS message
> >
> > > > SMSC number : "+6281100000"
> >
> > > > Sent : Wed Jul 15 14:31:45 2009 +0700
> >
> > > > Coding : Default GSM alphabet (no compression)
> >
> > > > Remote number : "+62811949655"
> >
> > > > Status : Read
> >
> > > > Ya 4 <--the message
> >
> > > > can i change the default format?
> >
> > --
> > -----------------------------------------
> > Hendra Cengala
> > Keep Moving Forward
> >
>
--
-----------------------------------------
Hendra Cengala
Keep Moving Forward
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---