×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    How to create new view?

    I'm using carbidevs+visualstudio2003, I created a new "view based application" symbian project, it has two views when created, each view related to the navigation bar above, I've created a new tag in the navigation bar and hope to create a new view related to it, I've copied all files related to "view2" and created a "view3" by changing the 2s to 3s and included the needed files in .mmp, it's successful after compiling, and can be opened in the emulator, and can successfully change from view1 to view2, but by further switching the navigation tag(to view3), the program breaks down. Are there any changes supposed to be made to solve this problem? Thanks! Sorry about my English!

  2. #2
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: How to create new view?

    Did you change these files:

    - MMP file: add the new view/container cpp file name
    - AppUi: add the code for the new view class
    - newly created view class: use a unique view id
    - RSS: create the AVKON_VIEW and related resource for the new view and that change make in the newly created view class.

    After doing all these it should work.

  3. #3
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to create new view?

    if you have created tab then you need to add in
    RESOURCE NAVI_DECORATOR resource also and set
    tab_width = EAknTabWidthWithTwoTabs; to EAknTabWidthWithThreeTabs

    hope your problem will solve
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  4. #4
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    Re: How to create new view?

    thanks all! the problem is solved. and by the way, I think I should set EAknTabWidthWithTwoTabs to OneTab instead of Three, because "Three" makes the tab even more smaller!

Similar Threads

  1. how to create a list box view?
    By haha@java in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-04-09, 08:09
  2. Create scroll bar in multi text view
    By ctpthanh in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-04-04, 08:47
  3. Create View
    By fcobsb in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-11-05, 07:04
  4. how to create checkbox control on view?
    By divakar_rp in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-05-28, 14:05
  5. Replies: 1
    Last Post: 2002-10-29, 13:25

Posting Permissions

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