×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    30

    Contacts from SDK -please help

    Hi all
    i'm new to symbian programming, hope to learn a lot here.
    i want to change the contacts example from sdk so
    when i use- iAppContainer->OpenDefaultDatabaseL()
    the listbox will be shown with graphic icons on left of each contact.
    i modified the CContContainer::ConstructL()
    so iListBox created as ListBox = new (ELeave) CAknSingleGraphicStyleListBox

    The program fails in run-time , so i debuged it and saw that it cannot
    perform the iListBox->SetCurrentItemIndexAndDraw( 0 ) ,that defined in CContContainer::UpdateListBoxL() .

    Now i dont have any idea what to do from here ..
    maybe it cauze that i didnt set the iconArray to the listBox?(how is it done?)

    thanks for anyone that can help :-)

  2. #2
    Registered User
    Join Date
    Feb 2007
    Posts
    30

    Re: Contacts from SDK -please help

    can some one please help ...?

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: Contacts from SDK -please help

    I may not be too much help to you, but it sure would fetch you more answers if you provided more information regarding the error, as to what kind of error is shown at the point you have said, etc.

    Also if you think that you have not updated the listbox correctly, then maybe it might help checking out the SDK documentation and the examples in the SDK.

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    30

    Re: Contacts from SDK -please help

    Quote Originally Posted by Symbian_Neil
    I may not be too much help to you, but it sure would fetch you more answers if you provided more information regarding the error, as to what kind of error is shown at the point you have said, etc.

    Also if you think that you have not updated the listbox correctly, then maybe it might help checking out the SDK documentation and the examples in the SDK.
    Hi
    it just throws exception error when doing : iListBox>SetCurrentItemIndexAndDraw(0);

    Unhandled exception at 0x60018865 in epoc.exe:

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Contacts from SDK -please help

    Enable extended error messages in the Emulator (Tools/Preferences/C++ Debug/Extended Panic Code File). Then when the exception occurs, continue the debugger, and after a while (probably 2 continuations) you will get an error message in the emulator. That is what matters. Type the error message in the search field of the SDK Help, and you will probably find some explanation.

  6. #6
    Registered User
    Join Date
    Feb 2007
    Posts
    30

    Re: Contacts from SDK -please help

    i tried your advice , but the sdk search didnt give me info on it
    the meassage i've got:
    "Program Closed
    Contacts DB
    EIKCTL42 "

    any advice?

Similar Threads

  1. MIDP applicatyion accessing a servlet not working in series 60 emulator
    By ferozekadamapuzha in forum Mobile Java General
    Replies: 11
    Last Post: 2008-05-07, 18:04
  2. Installing the SDK with Borland C++Builder
    By hrajalin in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2003-10-31, 02:46
  3. Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working
    By mattbee in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-06-10, 11:43
  4. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

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