Discussion Board

Results 1 to 4 of 4

Thread: print TDesC8

  1. #1
    Registered User steseb's Avatar
    Join Date
    Apr 2009
    Posts
    16
    I try to obtain all Mime type supported by a CCompressedVideoFormat.
    With an object of this class i use the method MimeType() who return a TDesC8. I don't know how print this information on a file (RFile).

    Can anyone give me a solution?

    Thanks

  2. #2
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    Hi,

    If you search on wiki you will find the lots of link of example.

  3. #3
    Registered User steseb's Avatar
    Join Date
    Apr 2009
    Posts
    16
    Ok i have try with:
    TBuf<1024> z1;
    z1.Copy(aFormat.MimeType());
    LFPRINT((_L("MIME - opData: %S"), &z1));
    where:
    CCompressedVideoFormat& aFormat
    and LFPRINT is a macro who print on a file with RFile
    But when I try to read file the data isn't readable. Why?

    Thanks again

  4. #4
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    Quote Originally Posted by steseb View Post
    Ok i have try with:
    TBuf<1024> z1;
    z1.Copy(aFormat.MimeType());
    LFPRINT((_L("MIME - opData: %S"), &z1));
    where:
    CCompressedVideoFormat& aFormat
    and LFPRINT is a macro who print on a file with RFile
    But when I try to read file the data isn't readable. Why?

    Thanks again
    Hi,

    What does it mean data is not readable? what is the defination of LFPRINT? might be there is nothing into the file. try to debug the app.

Similar Threads

  1. Guitar Tuner in Python
    By cassioli in forum Python
    Replies: 44
    Last Post: 2009-11-30, 20:03
  2. [announce] sysagent 1.2.0 for 3rd
    By cyke64 in forum Python
    Replies: 7
    Last Post: 2009-06-01, 10:34
  3. Need one HTTP client example
    By vinayakak in forum Symbian Networking & Messaging (Closed)
    Replies: 15
    Last Post: 2008-01-06, 06:44
  4. How to send an image with attachment in email
    By krtrivdi in forum Python
    Replies: 1
    Last Post: 2007-01-09, 12:07
  5. Sending an image over email
    By jeclarim in forum Python
    Replies: 3
    Last Post: 2006-12-15, 20: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
  •  
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