Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Startuplist Management: S60 v3: PlatSec/Capabilities problem?

1 replies · 0 views · Started 23 January 2006

Hi,

We want to use Startup list management API to autostart an application
for series60 version 3.0. but its not working.

We have a resource file "123456789.rss" (where "123456789" is the UID of
the application) and its contents are

//////////////////////////////////////////////////////

#include <startupitem.rh>

RESOURCE STARTUP_ITEM_INFO ExampleExe
{
executable_name = "!:\\sys\\bin\\Example.exe";
recovery = EStartupItemExPolicyNone;
}

//////////////////////////////////////////////////////

And we copy the following files through package file:

///////////////////////////////////////////////////////////////////////

"\epoc32\release\gcce\urel\Example.exe"-"!:\sys\bin\Example.exe"
"\epoc32\data\z\private\10003a3f\import\apps\Example_reg.rsc"-"!:\private\10003a3f\import\apps\Example_reg.rsc"
"\epoc32\data\z\resource\apps\Example_loc.Rsc"-"!:\resource\apps\Example_loc.Rsc"
"\epoc32\data\z\resource\apps\Example.Rsc"-"!:\resource\apps\Example.Rsc"
"\epoc32\data\z\private\10003a3f\import\apps\176426778.rsc"-"c:\private\101F875a\import\176426778.rsc"

///////////////////////////////////////////////////////////////////////

Could anybody please tell if the above lines are correct? Or is there
anything we are missing?

Do we require any capability for autostarting applicatrion. Our
application is having capability "None".

Thanks, AMK

Your app should be symbian signed to get it work with startuplist mngmt

["Followup-To:" (vastine) asetettu ryhm��n discussion.epoc.c++.]
AMK <[email protected]> kirjoitti 25.11.2005:
> Hi,
>
> We want to use Startup list management API to autostart an application
> for series60 version 3.0. but its not working.
>
> We have a resource file "123456789.rss" (where "123456789" is the UID of
> the application) and its contents are
>
> //////////////////////////////////////////////////////
>
> #include <startupitem.rh>
>
> RESOURCE STARTUP_ITEM_INFO ExampleExe
> {
> executable_name = "!:\\sys\\bin\\Example.exe";
> recovery = EStartupItemExPolicyNone;
> }
>
> //////////////////////////////////////////////////////
>
>
> And we copy the following files through package file:
>
> ///////////////////////////////////////////////////////////////////////
>
> "\epoc32\release\gcce\urel\Example.exe"-"!:\sys\bin\Example.exe"
> "\epoc32\data\z\private\10003a3f\import\apps\Example_reg.rsc"-"!:\private\10003a3f\import\apps\Example_reg.rsc"
> "\epoc32\data\z\resource\apps\Example_loc.Rsc"-"!:\resource\apps\Example_loc.Rsc"
> "\epoc32\data\z\resource\apps\Example.Rsc"-"!:\resource\apps\Example.Rsc"
> "\epoc32\data\z\private\10003a3f\import\apps\176426778.rsc"-"c:\private\101F875a\import\176426778.rsc"
>
> ///////////////////////////////////////////////////////////////////////
>
> Could anybody please tell if the above lines are correct? Or is there
> anything we are missing?
>
> Do we require any capability for autostarting applicatrion. Our
> application is having capability "None".
>
> Thanks, AMK