×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    Question My application closes automatically when the camera in video mode is open

    I just want a short information. Is it true that the Symbian OS closes applications when too much of them are open? If so, are the applications terminate in any particular order? I am using an N95 to do my test. My application always get terminated when I open the N95 camera in video mode. Any help or reference to a link explaining this behavior is appreciated. Thank you in advance for your time.

  2. #2
    Registered User
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523

    Re: My application closes automatically when the camera in video mode is open

    In Symbian 8.0 or later, the system will close applications automatically when RAM memory is low.

    In your case, when you open camera, the RAM is (for some reason i.e. your application is consuming a really great amount of operating memory) going to a critical level that causes system to close other applications running in background, in order to release enough memory for camera.

    Note that, by setting your application as a system application, the System won't close it in low memory conditions or when a backup of phone memory is being created in memory card.

    in that case, when trying to open the camera, device would only display a memory full warning, avoiding camera to be properly launched, and your application would remain running: just like what happened, by default, in older versions of Symbian OS.


    best regards
    Last edited by alb3530; 2007-10-03 at 20:39. Reason: adding info
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    Re: My application closes automatically when the camera in video mode is open

    Hi alb3530,

    thank you for your quick reply. I would like to know how to set my application as a system application. Is it something you can set in in the MMP file or is it another procedure to follow? Again, your response is well appreciated. Thank you for your time.

  4. #4
    Registered User
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523

    Re: My application closes automatically when the camera in video mode is open

    Quote Originally Posted by White_Tiger75 View Post
    Hi alb3530,

    thank you for your quick reply. I would like to know how to set my application as a system application. Is it something you can set in in the MMP file or is it another procedure to follow? Again, your response is well appreciated. Thank you for your time.
    You can achieve it with CEikonEnv::SetSystem()

    best regards
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

  5. #5
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    Re: My application closes automatically when the camera in video mode is open

    This answer my question. Thanks a lot alb3530.

Similar Threads

  1. Replies: 8
    Last Post: 2008-09-22, 06:34
  2. Application does not open when using py2sis tool
    By daniel.saldanha in forum Symbian
    Replies: 13
    Last Post: 2008-04-18, 23:02
  3. N93 native camera crash the application
    By binli120 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-11-22, 06:44
  4. N93 native camera crash the application
    By binli120 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-11-20, 21:01
  5. embedable camera application??
    By zhengyu97 in forum Symbian
    Replies: 0
    Last Post: 2005-04-22, 11:09

Posting Permissions

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