Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User max_gudluck's Avatar
    Join Date
    Dec 2008
    Posts
    41
    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
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    Hi,

    You can TBuf and HBuf from sdk and it have api like Copy, Append etc.

  3. #3
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,836
    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 max_gudluck's Avatar
    Join Date
    Dec 2008
    Posts
    41
    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 Kavit Patel's Avatar
    Join Date
    Nov 2007
    Posts
    444
    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 C++
    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
  •  
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