Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User pep_dj's Avatar
    Join Date
    Aug 2007
    Posts
    16
    I´m developing a little game and I´m using sensor api to capture accelerometer axis events. Everything works ok, but after about ten minutes playing my app closes suddenly! I did a lot of tests and finally I found that the problem is the sensor. There is a sample code called HelloSensor and after about 10 minutes it closes too!! In s60 5th emulator works ok, but it doesn´t in my 5800 with firmware version 31.0.008. Any body can help me please?

    Edit: before close I see a message saying: "memory full, applications will be closed" (translated from spanish). But with "helloSensor" (http://wiki.forum.nokia.com/index.ph...elloSensor.zip) it's the same!, it's a bug?
    Last edited by pep_dj; 2009-10-09 at 19:50.

  2. #2
    Registered User pep_dj's Avatar
    Join Date
    Aug 2007
    Posts
    16
    Please anybody can help me? Can u please test helloSensor and tell me if the app closes after about 10 minutes running in a 5800? Thanks!

  3. #3
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833
    Hello,
    I'm going to investigate this tomorrow.
    -Ilkka FN

  4. #4
    Registered User pep_dj's Avatar
    Join Date
    Aug 2007
    Posts
    16
    Quote Originally Posted by isalento View Post
    Hello,
    I'm going to investigate this tomorrow.
    -Ilkka FN
    thanks! I think it's a widget runtime bug. I don't know how to avoid it.

  5. #5
    Registered User mstolz's Avatar
    Join Date
    Oct 2009
    Posts
    6
    It seems like a memory leak in Sensors API. I've same problem on 5800 (21.0.025): while handling sensor events, phone's free memory reduces very fast.

    Is there any way to reinitialize service object to free up some memory or to read sensor data without RegisterForNotification()?

  6. #6
    Registered User pep_dj's Avatar
    Join Date
    Aug 2007
    Posts
    16
    anybody can help us please??

  7. #7
    This thread is referenced from the phoneGap Accelerometer code with the following comment:

    // TODO: this call crashes WRT, but there is no other way to read the accel sensor
    // http://discussion.forum.nokia.com/fo...ht=memory+leak

    Any workarounds? Or other updates?

  8. #8
    Registered User pep_dj's Avatar
    Join Date
    Aug 2007
    Posts
    16
    Yes! With firmware version 50.0.005, Nokia 5800, has solved this issue!!

    You can test the game I'm developing using accelerometer (http://sviudes.blogspot.com/2010/04/...serpiente.html), it's an alpha version . Before this firmware version, game stops after 10 minutes playing. Installing this firmware, works ok!

Similar Threads

  1. Changing App Mgr settings from J2ME app
    By ddbhasin in forum Mobile Java General
    Replies: 6
    Last Post: 2007-09-21, 07:18
  2. why my app is not shown in emulator?....due to i have change UID
    By bharats in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-09-12, 06:49
  3. renaming app, how??
    By Audun Holme in forum Symbian C++
    Replies: 2
    Last Post: 2007-05-13, 12:10
  4. Dialog's clipping area (again). Nokia experts, please help
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-26, 14:35
  5. 7650 - go back, close my app not closing the container app
    By geran in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2002-12-05, 09:58

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