×

Discussion Board

Results 1 to 4 of 4

Thread: Image capturing

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    37

    Image capturing

    I am trying to implement MCameraObserver::ImageReady(...) in my class. Is returned data (CFbsBitmap* aFrame or HBufC8* aData) owned by CCamera object or should I delete them in my class?

  2. #2
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Image capturing

    You should delete in your class. Generally, if you transferred ownership to caller then it is responsiblity of caller class to delete it.

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: Image capturing

    Well since the SDK says "Transfers the current image from the camera to the client" I would believe that the ownership is passed too and you would be responsible for cleaning it up in your client.
    Cheers,
    Mayank

  4. #4
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: Image capturing


Similar Threads

  1. Capturing image from secondary camera problem
    By michaelnewyork in forum Symbian
    Replies: 7
    Last Post: 2008-09-08, 08:09
  2. Replies: 4
    Last Post: 2007-04-25, 07:22
  3. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  4. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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