Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User vijaysoft's Avatar
    Join Date
    Oct 2007
    Posts
    31
    Hi , please read it carefully and help me . In my pogram i have two views .in my first view(view1), i have a listbox with a list of Audiofiles .

    when i select a listitem , i want to change my view (to view2) and play the selected audio file in view2 .

    In view2 i have two Labels to display the filename and filelength of the listitem that i selected from View1.

    How can i do this . How to transfer data between two views .
    In here i want to pass two things, filename and filelength . please.... help me..............

  2. #2
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Please read it carefully ... the title of this forum is "Symbian Media (Graphics & Sounds)" while your problem is one of UI design and basic C++. Why don't you decide on a more suitable forum and post your question there?

    And since I feel hungry right now here's a food oriented analogy: if you plan to eat dog stew (make music player) but you have no idea how to cook it (design UI), it is advisable to seek help from a Korean cook (UI expert) and not from an European dog breeder (audio codecs expert).

    A quick tip:
    - you handle the key/menu event that should trigger the view switch
    - store the data you want to keep (i.e. selected item) in your application's model/engine
    - call ActivateViewL
    - once the new view loaded you read the stored info and based on it populate the new view with corresponding data
    Last edited by ltomuta; 2009-07-04 at 15:40.

  3. #3
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,840
    hi vijay have to tried something till now.if yes then plz tell

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Have you checked the thread of your alter ego? http://discussion.forum.nokia.com/fo...d.php?t=172751

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