| Reply | « Previous Thread | Next Thread » |
|
Hi!
Can somebody tell me how many message IDs are produced in the Inbox of my Symbian 3rd ed. phone??? I think that those IDs are unique but they are used again when I delete a message from my inbox. Is this correct??? The number of ID has to be connected to the available space in the phone is that right?? Does somebody know some concrete data? Kind regards! |
| freaky_911 |
| View Public Profile |
| Find all posts by freaky_911 |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
Hello,
As far as I know there is no limit to the number of IDs that can be produced in the inbox, other than the obvious one: the maximum number of messages that fit in the device's memory. As for the IDs, yes they are unique. I had 5 messages in my inbox and the function sms_messages() returned 5 different IDs. Then I deleted message 3, and got the IDs accordingly (1, 2, 4 and 5). Then I saved another message to my inbox and got a different (as in not used before) ID, but that may depend on which device is being used. I'm not sure. Hope I understood your questions ![]()
Last edited by bogdan.galiceanu : 2008-03-28 at 20:15.
Reason: Typo
|
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Online
Forum Nokia Champion
|
|
hi freaky_911
bogdan is absolutely correct that there is no limit to generate the ID for the message. and its also correct that one the message is deleted the ID is used again. hope you are satisfied. thanx ![]() ![]() ![]() Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Hmmm ok thank you very much!
I think you mean "is not used again" =) in the following sentence. Do you? Quote:
|
| freaky_911 |
| View Public Profile |
| Find all posts by freaky_911 |
|
Hmmm sorry for asking again but I think that the IDs
have to be repeated when the maximum is reached. If the phones memory is full and I delete one message so that a new one can arrive what messageID does it get?? It cannot get an ID of an other existing message in the Inbox but if the ID is always increasing it has to reach the absolute maximum after a time and that causes an error or the ID will start with zero again..... does it??? Sorry for asking but I would like to rebuild my programm based on the IDs of messages... Kind regards! |
| freaky_911 |
| View Public Profile |
| Find all posts by freaky_911 |
|
From memory, not verified:
ID keeps growing with increments of "1" until max in reached. Then it wraps back to start. Next new message gets next highest free ID number. Old freed numbers are not reused ever, ID just keeps growing. Zero is special and not used for normal messages. Btw the max number is so high, you switch to new phone before reaching it. |
|
hey guys can u tell me how to get the unique message IDs?
CMsvEntry* folderInboxContext = CMsvEntry::NewL(*iSession, KMsvGlobalInBoxIndexEntryId, sort); CleanupStack::PushL(folderInboxContext); CMsvEntrySelection* InboxEntries = folderInboxContext->ChildrenL(); CleanupStack::PushL( InboxEntries ); CMsvEntry* entry = iSession->GetEntryL( (*InboxEntries)[i] ); CleanupStack::PushL(entry); TMsvEntry entry1 = entry->Entry(); i've tried using entry1.Id(); as well as entry->EntryId(); am i using it correctly? they seem to be unique numbers but somehow when i recv a new message all IDs are automatically changed and now the ID for my previous latest message bcome the ID for my latest message, e.G: SMS2 ID=1048584 latest SMS1 ID=1048585 let say i get a new message SMS3, now all the IDs changed, SMS3 ID=1048584 SMS2 ID=1048585 SMS1 ID=1048598 please help |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
Hi raysky,
This is the Python forum. You should ask your question in the Symbian C++ forum if you can't find the answer by searching that forum first. |
|
Quote:
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| how to get default message center number | sulakshana | General Symbian C++ | 3 | 2007-08-06 11:02 |
| WML & WMLSCript problem ???? | gemini_shooter | Browsing and Mark-ups | 0 | 2006-01-14 07:02 |
| "Send item to" message without phone number in 6220 | geiduks | Mobile Java General | 0 | 2004-02-13 11:33 |
| Personal | JSmith77 | PersonalJava | 4 | 2003-07-30 13:52 |
| Internet Access Config via Smart Message | ajbrindley | Smart Messaging | 1 | 2002-08-14 08:56 |