Discussion Board

Search:

Type: Posts; User: pirosl; Keyword(s):

Page 1 of 12 1 2 3 4

Search: Search took 0.23 seconds.

  1. Re: Some Question about Contact in Handphone Device

    1. You'll need at least AllFiles capabilities to access contact database directly on device. You should work with contact API provided by Symbian or J2ME

    2. It should be possible using public API...
  2. Re: using CContactDatabase to read contacts, always get 2 invalid items

    Those contacts may be templates used in contact model on your device.
    You can check if they are templates (using Type() method). Also please notice that system attribute is not used any more so...
  3. Replies
    28
    Views
    9,385

    Re: Adding and reading item from contact db

    Yep...no solution yet for this problem. Looks like a defect in S60/Symbian contacts code
  4. Re: CContactDatabase::ImportL - bad contacts restoring. Why?

    That's because contact items are based on templates.
    If target contact db has those templates, all contact item will have them (imported or not)

    Lucian
  5. Replies
    5
    Views
    6,925

    Re: Adding a new custom contact field

    For example:

    const TUid KMyCustomField = {/*value*/}; //make sure this is not duplicate value - check cntdef.h for this
    CContactItemField*...
  6. Replies
    16
    Views
    6,654

    Re: Illegal empty declaration

    Almost agree with you but you have to keep in mind that there is a circular include.
    In one of the h file there must be only the forward declaration
  7. Replies
    16
    Views
    6,654

    Re: Illegal empty declaration

    Look what you have in that file

    //includes
    #include "DeviceInfoAppUi.h";

    class CDeviceInfoAppUi;

    .....

    You make a declaration and a forward declaration. Let only the forward declaration
  8. Replies
    16
    Views
    6,654

    Re: Illegal empty declaration

    And InfoController.h?
  9. Replies
    16
    Views
    6,654

    Re: Illegal empty declaration

    Can you show us DeviceInfoAppUi.h ?
    I assume the problem is there
  10. Replies
    5
    Views
    6,925

    Re: Adding a new custom contact field

    It's possible to add your custom fields. Just create your custom type and that should be it.
    Words of advise:
    - custom fields will be recognized only in your app
    - import / export will not work...
  11. Re: How to avoid contacts duplication when delete.

    Yep...that should do the trick
  12. Re: How to avoid contacts duplication when delete.

    How do you import those contacts?
    At import time, successful imported contacts are stored in memory. But you can release that memory.

    L
  13. Re: How to avoid contacts duplication when delete.

    GUID is different from UID.
    If you create contacts on your machine, thy probably have only uid.
    If they are created on different platform, they will have a guid.

    However, when contacts are...
  14. Re: How to avoid contacts duplication when delete.

    You should use GUID when export / import
  15. Replies
    2
    Views
    5,305

    Re: Contacts imports memory consumption problem.

    If you look at method signature you have
    CArrayPtr<CContactItem>* ImportContactsL(......)
    So everytime you import, an arroy of contact items is created and its ownership passed to you.
    Do you...
  16. Replies
    28
    Views
    9,385

    Re: Adding and reading item from contact db

    You won't have access to source code in the next month or so (see this announce http://blog.symbian.org/2009/04/01/the-first-hardware-reference-design/). Didn't have time to check the example you...
  17. Re: CContactItem fails to read fields of a contact

    Yep...I think the problem is with contact ids
  18. Re: CContactItem fails to read fields of a contact

    How do you get the id used in contactDB->ReadContactLC(id)?

    L
  19. Replies
    28
    Views
    9,385

    Re: Adding and reading item from contact db

    What sdk version do you use?
  20. Replies
    9
    Views
    8,846

    Re: fetch my own Phone Number... (S60 3rd)

    Another aproach to this problem would be to read owncard from your contact database (though not all users / phone set that)
  21. Replies
    28
    Views
    9,385

    Re: Adding and reading item from contact db

    I think the problem is this: contact database is not updated at the moment you try to read contact from it (even if the persistent db was updated). To check this listen for database events and see...
  22. Replies
    28
    Views
    9,385

    Re: Adding and reading item from contact db

    Can you check what's the value of TContactItemId id?

    L
  23. Replies
    11
    Views
    4,962

    Re: Private contact database

    To be honest, I think this is a problem in contact app not in contact engine. May be contact app should take in consideration only default db. Other people would say that it should consider all db. I...
  24. Replies
    11
    Views
    4,962

    Re: Private contact database

    Yep, that's right....starting from 9.0 onward you can't create db in other places than private contact model private directory.
    Unfortunatelly you can't replace default db as well since default db...
  25. Replies
    11
    Views
    4,962

    Re: Private contact database

    I think directories have to be created already.
    Try first with _LIT( KOrgContactFile,"C:\\privatecontact.db" );
Results 1 to 25 of 300
Page 1 of 12 1 2 3 4
×