I want to start my application on startup. I do (i think) all what is here.
http://wiki.forum.nokia.com/index.ph...Management_API
I develop app in carbide, SDK S60_3rd_FP1. I try run following code in emulator and in mobile phone.
It doesn`t work. Nothing happen.
please what i have wrong?
My mmp file:
Code:TARGET PCH_v110.exe UID 0x100039CE 0xE7DBBE23 VENDORID 0 TARGETTYPE exe EPOCSTACKSIZE 0x5000 SYSTEMINCLUDE \epoc32\include \epoc32\include\variant \epoc32\include\ecom USERINCLUDE ..\inc ..\data SOURCEPATH ..\data START RESOURCE PCH_v110.rss HEADER TARGETPATH resource\apps END //RESOURCE SOURCEPATH ..\data START RESOURCE E7DBBE23.rss END START RESOURCE PCH_v110_reg.rss TARGETPATH \private\10003a3f\apps END //RESOURCE LIBRARY euser.lib apparc.lib cone.lib eikcore.lib avkon.lib LIBRARY commonengine.lib efsrv.lib estor.lib eikcoctl.lib eikdlg.lib LIBRARY eikctl.lib bafl.lib fbscli.lib aknnotify.lib aknicon.lib LIBRARY etext.lib gdi.lib egul.lib insock.lib LIBRARY ecom.lib InetProtUtil.lib http.lib esock.lib LIBRARY apgrfx.lib ws32.lib LANG 25 START BITMAP PCH_v110.mbm HEADER TARGETPATH \resource\apps SOURCEPATH ..\gfx SOURCE c12,1 list_icon.bmp list_icon_mask.bmp END SOURCEPATH ..\src #ifdef ENABLE_ABIV2_MODE DEBUGGABLE_UDEBONLY #endif SOURCE ListBoxMAINView.cpp ListBoxMAIN.cpp PCH_v110AppUi.cpp PCH_v110Application.cpp PCH_v110Document.cpp SettingItemList.cpp SettingItemListSettings.cpp SettingItemListView.cpp TCondition.cpp
My pkg file:
My E7DBBE23.rss:Code:; PCH_v110.pkg ; This is an auto-generated PKG file by Carbide. ; This file uses variables specific to Carbide builds that will not work ; on command-line builds. If you want to use this generated PKG file from the ; command-line tools you will need to modify the variables with the appropriate ; values: $(EPOCROOT), $(PLATFORM), $(TARGET) ; Also, the resource file entries should be changed to match the language ; used in the build. For example, if building for LANGUAGE_01, change the file ; extensions .rsc to .r01. ; ;Language - standard language definitions &EN ; standard SIS file header #{"PCH_v110"},(0xE7DBBE23),1,0,0 ;Localised Vendor name %{"Vendor-EN"} ;Unique Vendor name :"Vendor" ;Supports Series 60 v 3.0 [0x101F7961], 0, 0, 0, {"Series60ProductID"} ;Files to install ;You should change the source paths to match that of your environment ;<source> <destination> "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\PCH_v110.exe" -"!:\sys\bin\PCH_v110.exe" "$(EPOCROOT)Epoc32\data\z\resource\apps\PCH_v110.r25" -"!:\resource\apps\PCH_v110.r25" "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\PCH_v110_reg.r25" -"!:\private\10003a3f\import\apps\PCH_v110_reg.r25" "$(EPOCROOT)epoc32\data\z\resource\apps\PCH_v110_aif.mif" -"!:\resource\apps\PCH_v110_aif.mif" "$(EPOCROOT)epoc32\data\z\resource\apps\PCH_v110.mbm" -"!:\resource\apps\PCH_v110.mbm" ; Add any installation notes if applicable ;"PCH_v110.txt" -"!:\private\0xE7DBBE23\PCH_v110.txt" "$(EPOCROOT)Epoc32\data\E7DBBE23.r25"-"!:\private\101f875a\import\[E7DBBE23].r25"
Code:#include <startupitem.rh> RESOURCE STARTUP_ITEM_INFO startexe { executable_name = "!:\\sys\\bin\\PCH_v110.exe"; recovery = EStartupItemExPolicyNone; }

Reply With Quote
You do not require any such capability for autostarting your application but you must sign your application with developer certificate. And OpenSigned Online will help you in this.
((




