Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Revision as of 03:14, 20 June 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Symbian Start-On-Boot Registration API

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

This article describes the "Start on Boot" API that can be used for auto-starting applications in S60 2nd Edition and/or UIQ. While this API has been tested to Symbian OS v9.2, Symbian applications should use the Startup list management API (> S60 C++ API reference > C++ API Reference > S60 Platform Services > Security Services > Startup list Management API) from S60 3rd Edition.

Article Metadata
Code ExampleCompatibilityArticle
Created: ltomuta (20 Nov 2007)
Last edited: hamishwillee (20 Jun 2012)
Comes with Code:

Start-on-Boot Registration API

A common task Symbian developers face is to set up daemon services that run in the background waiting for or initiating events. For example you might wish to have some code execute or an application be launched at a scheduled time, or in response to receiving an inbound connection. In practice the combination of CActive and CServer classes provides the framework to create the service itself. What can be tricky, though, is ensuring that the service is running at all times, especially after the phone is rebooted. We provide here for the first time a very simple solution to this problem.

The Start-on-Boot API allows you to specify that an executable of your choice be launched and kept running indefinitely by registering it for re-launch as part of the phone's boot sequence. The implementation of the API includes checks which ensure that any malfunctioning executable introduced into the boot sequence which prevents successful reboot subsequently is automatically de-registered.

Licence icon cc-by-sa 3.0-88x31.png© 2010 Symbian Foundation Limited. This document is licensed under the Creative Commons Attribution-Share Alike 2.0 license. See for the full terms of the license.
Note that this content was originally hosted on the Symbian Foundation developer wiki.

This page was last modified on 20 June 2012, at 03:14.
52 page views in the last 30 days.