×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    41

    How to store data in a descriptor?

    I'm decompressing a data part by part and i'm storing it in a CFixFlatArray then transfer it to a descriptor.

    i'd like to ask if i can directly store it in a descriptor? can you give me a hint?

    thanks.

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

    Re: How to store data in a descriptor?

    Hi,

    You can TBuf and HBuf from sdk and it have api like Copy, Append etc.
    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]

  3. #3
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,080

    Re: How to store data in a descriptor?

    hi..u van use a simple array of descriptor to store the data, part by part as follows:

    TBuf<100>a[500]

    500 array entries each having size of 100.

    so u can store data one by one in different array elements

  4. #4
    Registered User
    Join Date
    Dec 2008
    Posts
    41

    Re: How to store data in a descriptor?

    vineet jain,

    is Tbuf can hold the data that can be played in the phone?

    example:

    // TBuf<100> a[500];
    // CMdaAudioOutputStream* iStream;

    iStream->WriteL(a[0]);

    is this possible?

  5. #5
    Registered User
    Join Date
    Nov 2007
    Posts
    444

    Re: How to store data in a descriptor?

    Quote Originally Posted by max_gudluck View Post
    vineet jain,

    is Tbuf can hold the data that can be played in the phone?

    example:

    // TBuf<100> a[500];
    // CMdaAudioOutputStream* iStream;

    iStream->WriteL(a[0]);

    is this possible?
    Hi,
    TBuf<100> a[500]; this is wrong. If you want to use the array of descriptor then use the CDesCArray, CDesCArrayFlat or one you mentioned in your first post.

    Regards,
    Kavit.

Similar Threads

  1. How to store data on the device using Flyer?
    By pakkami22 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2008-11-02, 08:23
  2. Store data in galary
    By honest_success in forum Mobile Java General
    Replies: 3
    Last Post: 2008-09-19, 20:02
  3. copying descriptor data into descriptor array
    By bballbeng in forum Symbian
    Replies: 4
    Last Post: 2006-09-07, 10:21
  4. Replies: 2
    Last Post: 2006-05-23, 02:45
  5. Using protocol file:// with object connector
    By afinistr in forum Mobile Java General
    Replies: 2
    Last Post: 2002-06-24, 07:12

Posting Permissions

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