Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User igor_k11's Avatar
    Join Date
    Aug 2008
    Posts
    21
    Hi all,

    I faced the problem that the same code is working at FP1 devices, but is not working at MR devices
    (works fine at N95 and E63, doesn't work at N73 and E61i)

    The call to the CBufferedImageDecoder::OpenL works fine with jpg files at FP1 phones, but I have error KErrNotFound at MR phones
    (TRAP(err, iDecoder->OpenL(aData, aMimeType.DesC(), options))

    Png files are decoded fine at all phones

    Am I doing anything wrong?

    Best regards,
    Igor

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    Dunno really what would be wrong (never used the API), anyway, maybe you could try CImageDecoder:ataNewL() instead, it should work just fine.

  3. #3
    Registered User igor_k11's Avatar
    Join Date
    Aug 2008
    Posts
    21
    Hi,

    thanks for the answer

    actually I found the solution, but forgot to post the answer due to a lot of work
    The difference is call to iDecoder->OpenL(aData, aMimeType.DesC(), options);
    aMimeType with value "image/jpg" (we have that value from web-service)
    works fine at Symbian 9.2 phones, but not at 9.1 phones
    The solution is pass "image/jpeg" instead of "image/jpg",
    that works fine under all OS versions

    Regards,
    Igor

Similar Threads

  1. 编译Qt样例出错,请看如下:
    By TD3 in forum Symbian
    Replies: 2
    Last Post: 2009-12-17, 10:57
  2. Problem receiving files in 6233 !!!
    By se7en_hills in forum General Development Questions
    Replies: 1
    Last Post: 2008-04-08, 06:26
  3. Problem receiving files in 6233 !!!
    By se7en_hills in forum General Development Questions
    Replies: 0
    Last Post: 2008-04-08, 05:13
  4. linking error
    By dakosurf in forum Symbian C++
    Replies: 1
    Last Post: 2008-03-27, 22:45
  5. Replies: 0
    Last Post: 2002-12-04, 15:46

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