Hi,

I have a Mail Application, which is showing all the contacts(e-mail addresses) 
in one "list". I am picking all the Device Contacts e-mail addresses and 
putting them into the "list". 
The "list", which is residing onto "To" field in my application. 
For example, In other mail softwares(like Yahoo etc.), "When we compose a mail 
and Enter One character on "To", immediately It will show all the e-mail list, 
which is taking from the contacts. Here(My application) also same process.

The problem is, If I have lot of contacts, say for ex. more than 1000 e-mail 
contacts, Its taking more time to search and pick from that database On Treo 
650. So, When I enter some character on "To" field of my application, Its 
taking more time and shows the "list" finally. I think This is due to in the 
case of NVFS.
This is really, the state of being out of favor.
But In Treo 600, the same behaviour happening(with the same code) Pretty 
Quickly even if i have 3000 e-mail contacts also.

I am using,
        DmOpenRef AddrDB = DmOpenDatabaseByTypeCreator ('DATA', 
sysFileCAddress, dmModeReadOnly);
        UInt number = DmNumRecords(AddrDB);
        for (UInt i = 0; i < number; i++) 
        {
                DmRecordInfo(AddrDB, i, &recAtt, NULL, NULL);
                if(recAtt & dmRecAttrDelete) continue;
                recordH = (Handle) DmQueryRecord(AddrDB, i);
                
.....................................................................
                Here, Code being searching, according to that character,
                which entered from the "To" field, and collecting the e-mail 
addresses
                and putting them into my list..............
                
.....................................................................
        }


I want to have the fast behaviour in this contact search on "To" field in Treo 
650 device.

Valuable help Would be appreciated.


- Martin Prabakar.






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to