| Reply | « Previous Thread | Next Thread » |
|
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 |
|
Hi AMK,
Have u succeed in Autostart for Series60 3.0? If so , what changes we have to make in .pkg or .rss file thanks, |
| prabhubalajishankar |
| View Public Profile |
| Find all posts by prabhubalajishankar |
|
Yes, it has to be on the C: drive for now, will change later. There is something you have to do with the resource file. I think it is mentioned in the latest sdk docs.
AMK |
|
Is it possible to check the Autostart in Series 60 3.0 Emulator.
I tried in Helloworldbasic program by giving, include <startupitem.rh> RESOURCE STARTUP_ITEM_INFO listener_server { executable_name = "!:\\Symbian\\9.1\\S60_3rd_Beta\\Epoc32\\release\\winscw\\udeb\\HelloWorldBasic.exe"; recovery = EStartupItemExPolicyNone; } and in .mmp as START RESOURCE 10005B91.rss HEADER TARGETPATH resource\apps END //RESOURCE But helloworldbasic.exe does not start during boot up. Anything i am missing here? Thanks, |
| prabhubalajishankar |
| View Public Profile |
| Find all posts by prabhubalajishankar |
|
I have no idea; never tested autostart on the emulator as the emulator was quite messy when we started developing.
AMK |
|
Hi,
Thanks for your immediate response. If you have not tested it in emulator,have u used 3.0 device directly.. Regards, |
| prabhubalajishankar |
| View Public Profile |
| Find all posts by prabhubalajishankar |
|
The name of the file should be [UID].rss not only UID.rss and the RSC file should naturally be named in the same manner.
The HEADER statement int the RESOURCE declaration is not neeced as you do not use the [UID].rsg file //J-A |
| Jan-Anders |
| View Public Profile |
| Find all posts by Jan-Anders |
|
I have tried this feature, seemingly exactly as documented and discussed in this thread, but I see no evidence that it works. My startup .exe writes trace info to a file as the first thing it does, but that file is never created.
My startup list resource file apparently gets thrown away by the system after the install, since it doesn't exist in the import directory. In fact, there are no files at all anywhere under c:\private\101f875a. Are there any hidden requirements for this to work? Thanks! Mark Peters |
|
As far as I know there aren't any hidden requirements apart from those mentined in the SDK help.
1) The installation package containing the application must be trusted, i.e. it must be signed with a valid certificate. 2) The installation package must install the application executable to be added into the startup list. 3) The installation package type must be SISAPP. 4) In case of an embedded package, the control file must be included in the parent package. 5) The control file must be named as [<package UID>].RSC, where <package UID> equals to the UID of the installation package. 6) The control file must not contain any other resource items than those defined in the Detailed Description: BYTE version Indicates the version of the API. Do not use. LTEXT Executable_name Full path to the executable. WORD recovery Recovery policy used in case of failure in executable launch. The RSC file is processed by the installer and deleted from the import directory. Instead a [UID].dat file can be found in the startup directory (c:\private\101f875a\startup) Does your application fulfill the first critera? Unless you have a valid certificate, automatic startup is not possible. //J-A |
| Jan-Anders |
| View Public Profile |
| Find all posts by Jan-Anders |
|
Hi:
I also encount the automatic startup problem in my problem. Now I solve this problem and it can work on the target device(N91, S60 3rd Edition). According to what your said before. I can give some suggestion for you to try once more: 1. the resource file "[UID3].rss" must be add with the [], for example, [0FFFFF04].rsc 2. the .exe file which to atuo startup should be a Non-GUI application, such as listeren, server, console application. 3. The sis should be signed with a valid certification. In my project, I signed with the ACS DevCert(the self-signed sisx is regard as an un-trusted application in S60 3rd Edition). Hope these can help you to solve your problem ======sky pu======
Last edited by skypu : 2006-02-08 at 14:13.
Reason: error signature
|
|
Hi:
I am sorry. you can use a GUI applicaiton as a startup application. ======sky pu ===== |
|
Can We test this Autostart in S60 3rd edition SDK? will it work?
|
| prabhubalajishankar |
| View Public Profile |
| Find all posts by prabhubalajishankar |
|
Quote:
|
|
I seem not to be able to get that working. i believe i did all the required steps
did anyone got that working? i use a E60, with a rom build from october or so... |
|
Yes, I was success doing it in some devices, like E61,N91,Nokai 3250.
====sky pu===== |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| FullCanvas to List bug S60 | sohrabza | Mobile Java Media (Graphics & Sounds) | 1 | 2007-02-27 17:05 |
| 6680 and bluetooth service profiles | ceruault | Mobile Java Networking & Messaging & Security | 1 | 2005-10-08 23:24 |
| List class on S60 phones | sandie_quinn | Mobile Java General | 3 | 2003-08-29 09:10 |
| Exclusive List behavior, S60 | fmhunter | Mobile Java Tools & SDKs | 1 | 2002-11-08 14:06 |
| S60 SDK bugs with List | xdimas | Mobile Java Tools & SDKs | 0 | 1970-01-01 02:00 |