hi,
i am trying to add the auto start to my application , for that i created a .rss file containing the following:
also i added the following to my .pro file#include <startupitem.rh>
RESOURCE STARTUP_ITEM_INFO startexe
{
executable_name = "!:\\sys\\bin\\U_Test.exe";
recovery = EStartupItemExPolicyNone;
}
0x200411C7 is my uid3symbian {
autoStartBlock = \
"SOURCEPATH ." \
"START RESOURCE 200411C7.rss" \
"END"
MMP_RULES += autoStartBlock
deployRscFile = "\"$${EPOCROOT}epoc32/data/200411C7.rsc\" - \
\"C:/private/101f875a/import/[200411C7].rsc\""
deployFiles.pkg_postrules += deployRscFile
DEPLOYMENT += deployFiles
}
symbian {
rssresources = "SOURCEPATH ." \
"START RESOURCE dialogs_0x200411C7.rss" \
"HEADER" \
"TARGETPATH resource\apps" \
"END"
MMP_RULES += rssresources
addFiles.pkg_postrules = "\"/NokiaQtSDK/Symbian/SDK/epoc32/data/z/resource/apps/dialogs_0x200411C7.rsc\" - \"!:\\resource\\apps\\dialogs_0x200411C7.rsc\""
DEPLOYMENT += addFiles
OTHER_FILES += nativesymbiandlg.hrh
}
and U_Test is my project name. The second symbian paragraph is for waitdialog...the application works without any error when it is executed.
but my application isnt running when i reboot the device!! what is wrong here
i used the auto start for a simple application that doesnt contain anything except the first paragraph:
and it worked!!! what should i do to make it work here?!??!?symbian {
autoStartBlock = \
"SOURCEPATH ." \
"START RESOURCE 200411C7.rss" \
"END"
MMP_RULES += autoStartBlock
deployRscFile = "\"$${EPOCROOT}epoc32/data/200411C7.rsc\" - \
\"C:/private/101f875a/import/[200411C7].rsc\""
deployFiles.pkg_postrules += deployRscFile
DEPLOYMENT += deployFiles
}
Thank you






