To start the application at boot up you use autostart option from py2sis command of Ensymble. But, there are some requirements to use it:
Originally Posted by soontobeared
From Ensymble's README file:
About running the application in background, you can use appswitch extension (3rd edition only).
Flag to control automatic startup of the application. On S60 3rd Edition
phones, an application can register itself to be automatically started
when the phone is turned on.
Note: Self-signed applications and applications with UID in the
unprotected range cannot register to be automatically started (see
options "--uid" and "--cert" above).
The code to send the application to background is:
Hope it helps,
appswitch.switch_to_bg("Your app name")