Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User kailab's Avatar
    Join Date
    Oct 2007
    Posts
    2
    Hello,

    After using the camera to get a snapshot, the application runs slower and slower.

    I create a new CommandListener canvas called "camCanvas". I change the view to this "camCanvas" and activate the camera player.
    After getting a snapshot or cancelling I close the camera, return view to game canvas and finally I destroy the "camCanvas".

    this works ok for all nokia phones except N80 and N73. The more times I use it, the slower the application runs.

    To close the camera I do:

    videoControl.setVisible(false);
    videoControl = null;
    camera.stop();
    camera.close();
    camera = null;
    System.gc();

    can anyone help?
    thanks in advance

    francisco

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello kailab,

    wild guess, but since you're using garbage collection, it could be causing the slow action here.

    Similar discussion:
    http://discussion.forum.nokia.com/fo...d.php?t=105632

    Regards,
    r2j7

Similar Threads

  1. Python for S60 1.4.0 released
    By jplauril in forum Python
    Replies: 43
    Last Post: 2009-05-24, 09:22
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  3. Camera API on Symbian 9.1 (Nokia N80)
    By srigans1 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-10-20, 05:31
  4. N80 Dual Camera Access
    By vanevery in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-10-05, 02:00
  5. embedable camera application??
    By zhengyu97 in forum Symbian C++
    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
  •  
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