i am using nokia 2370 classic and using windows 7.  Thank you very much for
fast reply.

On Wed, Jul 21, 2010 at 11:49 PM, eCubeH <[email protected]> wrote:

> Hi -
>
> Could you inform as to (a) Modem make & model and (b) O/S?
>
>
> On Jul 21, 9:43 pm, Brendon Png <[email protected]> wrote:
> > Hi everyone,
> >
> > I've been trying out the SMSLib.net recently.. I managed to get the
> > read messages program working and it is able to detect sms that has
> > been received in the SIM card.
> >
> > However, the IInboundMessageNotification does seem to work.
> >
> > I've tried sending sms to the number while it's running but the
> > notification doesn't appear.
> > When I run the program again, the new message is received without any
> > notification.
> >
> > I've applied breakpoint to the belowmentioned codes within the
> > program, but it doesn't seem to even reach there...
> >
> > Any advise please?
> >
> > Codes:
> >
> > public class InboundNotification : IInboundMessageNotification
> >                 {
> >                         public void process(AGateway gateway,
> > org.smslib.Message.MessageTypes msgType, InboundMessage msg)
> >                         {
> >                                 if (msgType ==
> org.smslib.Message.MessageTypes.INBOUND)
> > Console.WriteLine(">>> New Inbound message detected from Gateway: " +
> > gateway.getGatewayId());
> >                                 else if (msgType ==
> org.smslib.Message.MessageTypes.STATUSREPORT)
> > Console.WriteLine(">>> New Inbound Status Report message detected from
> > Gateway: " + gateway.getGatewayId());
> >                                 Console.WriteLine(msg);
> >                                 try
> >                                 {
> >                     Console.WriteLine(New Inbound message detected
> > from Gateway: " + gateway.getGatewayId());
> >                     Console.In.ReadLine();
> >                                         // Uncomment following line if
> you wish to delete the message
> > upon arrival.
> >                                         // gateway.deleteMessage(msg);
> >                                 }
> >                                 catch (Exception e)
> >                                 {
> >                                         Console.WriteLine("Oops!!!
> Something gone bad...");
> >                                         Console.WriteLine(e.Message);
> >                                         Console.WriteLine(e.StackTrace);
> >                                 }
> >                         }
> >                 }
>
> --
> 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]<smslib%[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 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