Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    Hii,
    can soomeone tell me how to add the contacts from contact database into list box and display it ???? do i have to create a RESOURCE for list box but in that case the list items in the list box will be fixed ..?? how do i make the contacts to appear on the list box?????


    Thanks,
    Chaithra Kumar

  2. #2
    Super Contributor shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    You are not required to create listbox form resource make it dynamic.

    Access all the data you want form ccontactdatabase and store it in array and then use this array to fill the listbox.


    For creating listybox refer to this link:
    http://wiki.forum.nokia.com/index.ph...simple_listbox
    Regards,
    Shafali

  3. #3
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    Thanks .. i ll try that

  4. #4
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    hii,
    i am getting this error in my App.. why is it coming ??? plzz help me????

    "Specified file '\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\WINSCW\UDEB\.lib' not found"


    Regards,
    Chaithra Kumar

  5. #5
    Super Contributor shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    Quote Originally Posted by chaithrakumar View Post
    hii,
    i am getting this error in my App.. why is it coming ??? plzz help me????

    "Specified file '\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\WINSCW\UDEB\.lib' not found"


    Regards,
    Chaithra Kumar
    Are you using carbide???

    If yes then check your .mmp file by mistake some empty lib added there.
    Regards,
    Shafali

  6. #6
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    i have used these libraries...i guess all are fine..can u tell whats wrong here???????

    euser.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib
    LIBRARY avkon.lib
    LIBRARY commonengine.lib
    LIBRARY efsrv.lib
    LIBRARY estor.lib
    LIBRARY aknnotify.lib
    LIBRARY hlplch.lib cntmodel.lib .lib
    eikcdlg.lib eikctl.lib eikcoctl.lib eikdlg.lib
    commondialogs.lib

  7. #7
    Super Contributor shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    Quote Originally Posted by chaithrakumar View Post
    i have used these libraries...i guess all are fine..can u tell whats wrong here???????

    euser.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib
    LIBRARY avkon.lib
    LIBRARY commonengine.lib
    LIBRARY efsrv.lib
    LIBRARY estor.lib
    LIBRARY aknnotify.lib
    LIBRARY hlplch.lib cntmodel.lib .lib
    eikcdlg.lib eikctl.lib eikcoctl.lib eikdlg.lib
    commondialogs.lib
    See this empty ".lib"
    LIBRARY hlplch.lib cntmodel.lib .lib
    Regards,
    Shafali

  8. #8
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    Oh my GOD.. i am soo stupid... thanks ...

  9. #9
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    i have this strage problem from yesterday... my Application panics as soon it encounters

    CContactDatabase* cb=CContactDatabase::OpenL();


    can u help me with this??

  10. #10
    Super Contributor shafali gupta's Avatar
    Join Date
    Nov 2004
    Posts
    1,009
    Quote Originally Posted by chaithrakumar View Post
    i have this strage problem from yesterday... my Application panics as soon it encounters

    CContactDatabase* cb=CContactDatabase::OpenL();


    can u help me with this??

    TRAP the error code.

    TRAPD(err,CContactDatabase* cb=CContactDatabase::OpenL());

    It could be one of these.

    KErrNotFound The database file was not found or it did not have the correct UIDs.

    KErrLocked Another client is writing to the database.

    KErrDiskFull The disk does not have enough free space to perform the operation.
    Regards,
    Shafali

  11. #11
    Registered User chaithrakumar's Avatar
    Join Date
    Feb 2009
    Posts
    33
    can i delcare CContactDatabase* db; in constructor of AppUI.h.. and initialise db=CContactsDatabase::OpenL(); in its constrcutor of AppUI.cpp..???
    should i use contactsdatabase only in Document class??????

Similar Threads

  1. Slow loading large contacts list
    By tektronic in forum Symbian C++
    Replies: 6
    Last Post: 2010-08-17, 16:54
  2. Display calendar entry in a list box.
    By abhimanyu1 in forum Symbian C++
    Replies: 1
    Last Post: 2009-08-27, 12:07
  3. problem in deleting item from list n database
    By lopesrohan1988 in forum Symbian C++
    Replies: 0
    Last Post: 2009-03-18, 16:40
  4. Problem in displaying available contacts in list
    By dineshshilpi in forum Mobile Java General
    Replies: 2
    Last Post: 2008-05-13, 11:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved