Hello,

I'm new to smslib and I tried to run the ReadMessages.java example.
Btw, I'm using a Nokia 6103 handset connected via bluetooth.

All works well. It's just that when the phone receives a new message,
why does it output all the messages (in inbox) in the phone?

It seems that all messages are recognized as new inbound messages and
therefore prints all of them whenever I receive a new message.
Is this the default behavior? (Or maybe it's because I used bluetooth)

What I want is that it should only display the message that it has
received at that time.(the latest inbound message) Is there any status
or variable that I can set so that I can distinguish the new message
from the old ones?

One solution I can think of is to empty my inbox and delete the new
message after I'm done with it. So only .the newest message will be
left (But what if I need old messages? I don't want to bother storing
them to a database...)

I also thought of using the memory index but it seems that the
messages are not sorted in date when they are assigned their memory
indexes...

Any ideas?

Thanks,
Mel


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java 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