×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    how to delete the DBS_100065FF_Contacts.cdb

    how to delete the DBS_100065FF_Contacts.cdb?
    thanks!!!!!!!!

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: how to delete the DBS_100065FF_Contacts.cdb

    Where is it located at ?, is it your own file ? and have you tried functionality provided by RFs already ?

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: how to delete the DBS_100065FF_Contacts.cdb

    Quote Originally Posted by symbianyucca View Post
    Where is it located at ?, is it your own file ? and have you tried functionality provided by RFs already ?
    the system path c:\\private\\100012a5\\DBS_100065FF_Contacts.cdb

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: how to delete the DBS_100065FF_Contacts.cdb

    Quote Originally Posted by lmyuanhang View Post
    the system path c:\\private\\100012a5\\DBS_100065FF_Contacts.cdb
    Then you would need to execute the deletion functions from a process having secure ID of 0x100012a5, othervise you actually would need to have AllFiles+TCB.

  5. #5
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: how to delete the DBS_100065FF_Contacts.cdb

    Hi,

    If you just want to reset the db then a possible way is to open the database by the Symbian OS Database API (RDbs, RDbNamedDatabase), then clear all the db records, not tried but in theory it should requires only ReadUserData/WriteUserData capabilities.

    There is an example in the following post shows how to use RDbNamedDatabase to read/write the db files managed by the database server (UID 0x100012a5).

    http://discussion.forum.nokia.com/fo...l=1#post700679

    Regards

    Ziteng Chen

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: how to delete the DBS_100065FF_Contacts.cdb

    Quote Originally Posted by chenziteng View Post
    If you just want to reset the db then a possible way is to open the database by the Symbian OS Database API (RDbs, RDbNamedDatabase), then clear all the db records, not tried but in theory it should requires only ReadUserData/WriteUserData capabilities.
    provided that the process where the API is used has secure ID of 0x100012a5, then you do not need any capability, and if the proces does not have that specific SID, you still need AllFiles + TCB with those APIs as well.

  7. #7
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: how to delete the DBS_100065FF_Contacts.cdb

    Hi,

    "No you didn't listen to me. I'm not asking anyone to read/write the file directly, actually the secure database files are managed by DBMS server (UID 0x100012a5) so it is absolute possible to access the database by Symbian OS DBMS API (client API like RDbs, RDbNamedDatabase, etc), the capabilities required are totally depends on the secure policies defined by the specific database. It just like you can use CRepository to access Central Repositories whose data files are stored in the private folder of the CenRep server (UID 0x10202be9)."

    The words above are copied from the following thread:

    "deleting notepad entries"
    http://discussion.forum.nokia.com/fo...otepad-entries

    Regards

    Ziteng Chen

Similar Threads

  1. Contacts.cdb
    By siva_321 in forum Symbian
    Replies: 5
    Last Post: 2009-10-20, 15:23
  2. contacts.cdb in Symbian 9
    By truf in forum Symbian
    Replies: 5
    Last Post: 2007-07-15, 16:37
  3. Contacts.cdb
    By l783l74 in forum General Development Questions
    Replies: 4
    Last Post: 2006-10-29, 11:22
  4. contacts.cdb HELP!
    By dolphin in forum General Development Questions
    Replies: 0
    Last Post: 2006-08-21, 22:25
  5. can we take contacts.cdb backup.
    By iaj in forum Symbian
    Replies: 4
    Last Post: 2006-06-29, 12:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×