[Gpephone-devel] Preload phonebook & sms in sim card

Yu Yijun linuxstb at yahoo.com
Sat Apr 28 11:09:08 CEST 2007


Hi, 
   
  It is a common practice to preload phonebook and sms stored in sim card to memory before end users launch corresponding graphical user window. Otherwise it will let end users wait a long time to see all the sms or contacts stored in the sim card shown on the screen since it is a time consuming procedure to read data from sim card via AT commands.
   
  In the first version of phone server, once it is started (right after the device boots up and before graphical user interfaces shown), it will read all sms and phonebook from sim card, and then create databases in RAM, and finally store sms and phonebook to the databases respectively using messaging enabler or address book enabler. Later when end users launch address book or sms application, data will almost be immediately shown on the screen. 
   
  Drawback of the approach above is that it makes phone server too complex. It has to depend on address book enabler and messaging enabler since it needs to store data into databases in formats which later should be recognized by address book or sms application.
   
  We are considering to remove address book enabler and messaging enabler dependency from phone server, but keeping preloading mechanism.The approach is that phone server may be configured to preload data in sim card to a shared memory or a temporary file in the memory once it is started. That is all should be done by phone server and no more. Once address book or sms app started, they will detect if the shared memory or temporary file exists, if it does, then address book or sms app will read data from it and then create databases to store the data. The procedure will be simple and fast. If the shared memeory or temporary file doesn't exist, that means that phone server doesn't preload the data, and address book or sms app has to read data from sim card directly. The later situation makes senses for the address book or sms app resident on the memory which will be launched once the device boots up and runs until the device shut down.
   
  Is there any one having some opinions different?
   
  Regards
  YU Yijun

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxtogo.org/pipermail/gpephone-devel/attachments/20070428/ab8af32e/attachment.htm 


More information about the Gpephone-devel mailing list