Hi Zamby, I think Thanasis would be able to answer the question on getting the ID from a message and if it's possible.
But I wouldn't think it the best option, for the following reasons. If the message has a unique number given by the phone, what if you're phone breaks and you replace it with a new one? You may get duplicate ID's from the replacement phobe. By using a unique number from the phone, you are basically linking your messages to that phone, which seems unnecessary. If you have an Identity column in your messages table along with a timestamp, you have unique rows with the identity column and you can get the latest message or categorize and group the messages by the datetime column, all without having any dependance on the phone it came from. That's what I am hoping to go for, unfortunately I still can't read messages from my phone, but the storage of the sent messages works well, because I have the sending running in a Windows Service, and it gets the messages to be sent from a table (which I can add to using an asp.net website) and just flags them as processed as it sends them. Therefore, for any reporting or querying, you're really just accessing the database as you would any standard querying, without ever having to go near the phone itself... That's my take on it anyway. Might suit what you want to achieve. Will. On Apr 1, 10:21 pm, zamby <[email protected]> wrote: > Thanks very nice. > If I create a message database .... > I have to use force to timestamp or is there a "id" parameter? > msg.getId() can fit in your opinion? -- 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.
