×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    53

    app(camera) is closed

    The application is closed after 15 sec while converting the image to grayscale,I don't know why?

    In mouAppView.h
    {
    mouAppView
    }


    void mouAppView::SetCameraFrame(CFbsBitmap& aBitmap)
    {

    CFbsBitmap* firstframe=Convert16MUto16ML(aBitmap);//convert to 16ml so i can use it in nokia cv
    TSize mouzz=firstframe->SizeInPixels();
    CleanupStack::PushL(iCurrentFrame);
    iCurrentFrame->CreateL(*firstframe); //create cnokiaCvImage
    CleanupStack::Pop( iCurrentFrame);
    if(firstframe)
    {
    firstframe=NULL;
    delete firstframe;
    }
    }
    mou::~mou()
    {
    if(iCurrentFrame)
    {
    delete iCurrentFrame;
    iCurrentFrame = NULL;
    }
    if(iCurrentGrayImage)
    {
    delete iCurrentGrayImage;
    iCurrentGrayImage=NULL;
    }
    }

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,675

    Re: app(camera) is closed


  3. #3
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    53

    Re: app(camera) is closed

    I am allowing panic and also i downloaded YTask but nothing appear,the application is working well for about 15 sec and then viewfinder closed and exit
    Before i was using an testing image(175*300 pixel) Not frame(1944*2592) and same operation happened and application is working well ,when i replaced it with the frame the problem happens.

  4. #4
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    53

    Re: app(camera) is closed

    I found where the problem happens but i don't know the reason of that

    CFbsBitmap *bitmap = new (ELeave) CFbsBitmap();
    bitmap->Create(size, EColor16M);

    after 51 frame the application is closed when he create bitmap ,I dont know the reason for that

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: app(camera) is closed

    And what is the error code you are getting ?
    Y-Tasks::Crash monitor always gets the process exit code, so you should be able to get it rather easily.

  6. #6
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    53

    Re: app(camera) is closed

    I solved the problem ,the memory were full

Similar Threads

  1. Replies: 2
    Last Post: 2009-05-06, 08:34
  2. Replies: 7
    Last Post: 2009-02-12, 13:37
  3. WIFI connection not closed on application exit
    By Mart1986 in forum Symbian
    Replies: 6
    Last Post: 2008-01-28, 14:38
  4. Prevent python getting closed by kernel
    By prashanth_ym in forum Symbian
    Replies: 2
    Last Post: 2007-05-21, 10:30
  5. program closed Browser!!!!!
    By call2kk in forum Symbian
    Replies: 0
    Last Post: 2005-04-20, 12:20

Posting Permissions

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