×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Register and Unregister application startup at runtime in S60 3rd edition

    We follow the Startup List Management API documentation to configure the RSS to register our application for auto-startup in S60 3rd edition and it is successful. However we want to allow the user to enable/disable the auto-startup behavior of the application within our program. Is there any way to do it at runtime?

  2. #2
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Re: Register and Unregister application startup at runtime in S60 3rd edition

    How about renaming your [<package UID>].RSC file to something else
    other than [<package UID>].RSC when u dont want ur application to
    launch on startup and then renaming it back to [<package UID>].RSC
    when u want it to launch on startup.

    Its just an idea..tell me if it works.

    Regards
    Kaiser

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Re: Register and Unregister application startup at runtime in S60 3rd edition

    Hi kaiser_20,

    Thanks a lot your recommendation. File rename/removal in S60 3rd edition should not work because data caging in new Platform Security prevents application to alter other application's private data directory.

    Regards,
    Joseph

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Register and Unregister application startup at runtime in S60 3rd edition

    The simplest way I use is making the application exit if the corresponding (start on boot) setting flag is turned off. It's not optimal, but so far it doesn't seem to be another way..

  5. #5
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Re: Register and Unregister application startup at runtime in S60 3rd edition

    "
    Thanks a lot your recommendation. File rename/removal in S60 3rd edition should not work because data caging in new Platform Security prevents application to alter other application's private data directory.

    Regards,
    Joseph
    "

    Hi,
    But you are trying to register or deregister your own application right.
    So you should be able to access your own rsc files in your own private
    directory.

    Kaiser

  6. #6
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Register and Unregister application startup at runtime in S60 3rd edition

    The problem is that the rsc file goes to another id's private directory.

Posting Permissions

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