×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2006
    Location
    Germany
    Posts
    598

    RProcess::Kill without PowerMgmt

    I just wanted to share my experience with that API.
    I was using it from a process without PowerMgmt capability and funny enough it has some dramatic side effect on the device.

    On E50 it just crashes the phone. The only way out is to remove the battery. Maybe that phone needs a firmware update though.

    On N80 it makes the phone running dramatically slow until you reboot. That was with the latest firmware to date.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    104

    Re: RProcess::Kill without PowerMgmt

    You could try to use EndTask() instead of KillTask(). No PowerMgmt capability required.

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: RProcess::Kill without PowerMgmt

    That is only used to kill tasks that have a UI. If the task is marked as a system task then you require power management anyway.

    My guess is the system stability issue is due to some other external factor such as someone watching or manipulating the thread or process incorrectly/concurrently or a really early ROM image.

    Without the code it is hard to speculate

  4. #4
    Registered User
    Join Date
    May 2006
    Location
    Germany
    Posts
    598

    Re: RProcess::Kill without PowerMgmt

    I'm not sure now that the RProcess::Kill call is responsible for the N80 performance issue. But it definitely was causing the crash on E50.

    I'm using ECOM recognizer framework to manage a service process since the startup list management API is only C drive based and therefore won't work for pre-installed application. So in the destructor of my recognizer I try to kill the service and that was working just fine before V9.

    BTW I don't believe they (Symbian/Nokia) still haven't manage to provide a proper framework for start-on-boot in V9/3rd ed To me it should be down to Symbian to do that so that you don't have to go for different implementation for UIQ. Yet again another point in favour of the dirty recognizer solution.

    However I have the impression that recognizers are not loaded upon inserting the memory card on some phones at least...

  5. #5
    Registered User
    Join Date
    Sep 2006
    Location
    Beijing, China
    Posts
    386

    Re: RProcess::Kill without PowerMgmt

    Quote Originally Posted by lenclud
    I'm using ECOM recognizer framework to manage a service process since the startup list management API is only C drive based and therefore won't work for pre-installed application.
    Unless the application is also preinstalled on C drive, I'd assume?

    Max.

Similar Threads

  1. Symbian 9: PowerMgmt not supported
    By gravana in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-06-19, 00:43
  2. PowerMgmt capability and Carbide .vs
    By Paul.Todd in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-06-06, 12:00

Posting Permissions

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