×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    3

    help in writing application

    hi friends
    i m developing application in series 60 2nd edition.
    i m using carbide.c++ as an editor and its ui design for designing forms
    i m really confused about code to write in symbian c++,
    (just an example of my application here)
    my application has 4 forms,in main form i have 3 in options a,b,c (Selection List)
    now if user selects "A" in selection list then form1 will be loaded and
    if user selects "B" then form2 will be loaded
    if user selects "C" then form3 will be loaded

    although i have read the documentation and few things but still
    i m confused where to write code of event handling specifically in which file so plz help me...
    can anyone tell me the code for this application ?
    or any example which i can run in carbide.c++ ?
    thanx to read this much
    and thank you in advance

  2. #2
    Regular Contributor
    Join Date
    Apr 2006
    Location
    India
    Posts
    383

    Re: help in writing application

    Hi!

    Not very clear from your post actually. Plz be more specific.

    U need to go through view architecure.. if i am getting u properly..

    1st view wil have selection list with 3 items in it. When u click on 1st item of list it wil open new view.. n all.

    Do u wann open the form(means dialog) or else..?
    Regards,
    Shilpa Kulkarni

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    3

    Re: help in writing application

    Quote Originally Posted by Shilpa13 View Post
    Hi!

    Not very clear from your post actually. Plz be more specific.

    U need to go through view architecure.. if i am getting u properly..

    1st view wil have selection list with 3 items in it. When u click on 1st item of list it wil open new view.. n all.

    Do u wann open the form(means dialog) or else..?
    yes i want to open new view by selected list element like if user has selected option "A" then the view1 should be loaded and i want code for that..

  4. #4
    Regular Contributor
    Join Date
    Mar 2007
    Location
    "On a b'ful lil palnet called EARTH belongs wid Galaxy named MilkyWay in Universe"
    Posts
    402

    Re: help in writing application

    well itz nt qt possible to tell u line by line code. But i tell u process.
    1. 1: Create a view in which a listbox contains entries "A" "B" "C".. See CAknSingleStyleListBox or any other as ur requirment..
    2. 2: Now in OfferKeyEventL of that container where u difine ListBox set ur urForm->ExecuteLD for each form..
    3. 3: As at "A" urForm->ExecuteLD(form1Id), "B" urForm->ExecuteLD(form2Id), "C" urForm->ExecuteLD(form3Id)


    well i think if u r aware with view container and AppUi structure then u may understand these hints...
    ===With Symbian===
    "Something Has Survived..!!!"

Similar Threads

  1. Porting existing application from Sun Wireless tookit 2.3 to Carbide.j 1.5
    By vgps in forum Tools and SDK Feedback (Closed)
    Replies: 3
    Last Post: 2007-06-30, 18:02
  2. Launching a view of a diffrent application
    By nsivach in forum Symbian
    Replies: 3
    Last Post: 2007-03-22, 09:51
  3. Bringing application to foreground
    By ash_bhatia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-02, 13:39
  4. Replies: 0
    Last Post: 2005-05-28, 10:20
  5. writing a mail application
    By Nokia_Archive in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-15, 20:34

Posting Permissions

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