×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    problem Auto starting application in 3rd edition FP1

    hi all
    I read a post regarding Auto starting application in 3rd edition.

    http://wiki.forum.nokia.com/index.php/How_to_autostart_an_application_on_boot_up_in_3rd-_Startup_List_Management_API

    I am doing the same. I have console application which i want to run on startup ..
    1 application is simple Hello World.
    2 UID is 0xE07695CA
    3 Name of EXE is Testrsc.exe
    4 Name of RSS file E07695CA_reg.rss
    5 In mmp start resource section i am writing
    START RESOURCE E07695CA_reg.rss
    TARGETPATH \private\10003a3f\import
    END
    6 contents of RSS file are

    #include <startupitem.rh>
    // Replace this with the UID3 of your application
    UID3 0xE07695CA
    RESOURCE STARTUP_ITEM_INFO Testrsc
    {
    executable_name = "!:\\sys\\bin\\Testrsc.exe";
    recovery = EStartupItemExPolicyNone;
    }
    could u please see where i am wrong...


    This is my mmp file

    TARGET Testrsc.exe
    TARGETTYPE exe
    UID 0 0xE07695CA

    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include

    SOURCEPATH ..\src
    SOURCE Testrsc.cpp

    START RESOURCE E07695CA_reg.rss
    TARGETPATH \private\10003a3f\import
    END

    LIBRARY euser.lib

    #ifdef ENABLE_ABIV2_MODE
    DEBUGGABLE_UDEBONLY
    #endif

    This is the RSS file E07695CA_reg.rss
    #include <startupitem.rh>
    UID3 0xE07695CA
    RESOURCE STARTUP_ITEM_INFO Testrsc
    {
    executable_name = "!:\\sys\\bin\\Testrsc.exe";
    recovery = EStartupItemExPolicyNone;
    }

    plz help
    Regards
    Gaurav Gupta

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: problem Auto starting application in 3rd edition FP1

    Have you signed your application with self-sign certificate??

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Re: problem Auto starting application in 3rd edition FP1

    Quote Originally Posted by gaurav.gupta View Post
    ...I have console application which i want to run on startup ..
    Have you ever tried running your console application stand alone? Means without Startup List Management API?
    Nokia Developer Wiki Moderation team

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: problem Auto starting application in 3rd edition FP1

    And did you install the application into the C-Drive ?

  5. #5
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    Re: problem Auto starting application in 3rd edition FP1

    Hi
    i have signed my application with open signed certificate.
    Standlone application is running well it is just a hello world application
    and it is installed in c:\sys\bin

    IS everything fine...
    regards
    Gaurav gupta

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: problem Auto starting application in 3rd edition FP1

    Everythings look fine. hows your .pkg look like?

  7. #7
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: problem Auto starting application in 3rd edition FP1

    Quote Originally Posted by gaurav.gupta View Post
    Hi
    i have signed my application with open signed certificate.
    Standlone application is running well it is just a hello world application
    and it is installed in c:\sys\bin

    IS everything fine...
    regards
    Gaurav gupta
    Hi,
    Gaurav have you included ProtServ capability in your mmp file. If not , then add this capability and compile and run your code again.

    Regards,
    Sumit

  8. #8
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    Re: problem Auto starting application in 3rd edition FP1

    This is my package file and i have now added protserv capability in my mmp ....
    TARGET Testrsc.exe
    TARGETTYPE exe
    UID 0 0xE07695CA

    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include

    SOURCEPATH ..\src
    SOURCE Testrsc.cpp

    START RESOURCE E07695CA_reg.rss
    TARGETPATH \private\10003a3f\import
    END

  9. #9
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: problem Auto starting application in 3rd edition FP1

    AFAIK autostart does not require any capability, it just not work with selfsigned certificate. so you have to use either developer certificate or use opensigned option for testing app.

  10. #10
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: problem Auto starting application in 3rd edition FP1

    Quote Originally Posted by gaurav.gupta View Post
    This is my package file and i have now added protserv capability in my mmp ....
    TARGET Testrsc.exe
    TARGETTYPE exe
    UID 0 0xE07695CA

    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include

    SOURCEPATH ..\src
    SOURCE Testrsc.cpp

    START RESOURCE E07695CA_reg.rss
    TARGETPATH \private\10003a3f\import
    END
    I recommend you to send Testrsc.exe and E07695CA_reg.rsc in C drive only.We want to see your package file also . show your package.

  11. #11
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    Re: problem Auto starting application in 3rd edition FP1

    hi all

    This is the package file
    ; Installation file for Symbian OS 9.x for generic console application
    ; Installation file for smsWithinterface EXE
    ;
    ; 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)
    ;

    ;
    ; UID is the exe's UID
    ;
    #{"Testrsc EXE"},(0xE07695CA),1,0,0


    ;Localised Vendor name
    %{"Kochar-EN"}

    ;Unique Vendor name
    :"KIPL"

    "c:\Testrsc.exe" -"!:\sys\bin\Testrsc.exe"

    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\E07695CA_reg.rsc"-"!:\private\10003a3f\import\[E07695CA].rsc"

    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\Testrsc_reg.rsc"-"!:\private\10003a3f\import\apps\Testrsc_reg.rsc"

    regards
    gaurav gupta

  12. #12
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: problem Auto starting application in 3rd edition FP1

    Quote Originally Posted by gaurav.gupta View Post
    hi all

    This is the package file
    ; Installation file for Symbian OS 9.x for generic console application
    ; Installation file for smsWithinterface EXE
    ;
    ; 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)
    ;

    ;
    ; UID is the exe's UID
    ;
    #{"Testrsc EXE"},(0xE07695CA),1,0,0


    ;Localised Vendor name
    %{"Kochar-EN"}

    ;Unique Vendor name
    :"KIPL"

    "c:\Testrsc.exe" -"!:\sys\bin\Testrsc.exe"

    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\E07695CA_reg.rsc"-"!:\private\10003a3f\import\[E07695CA].rsc"

    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\Testrsc_reg.rsc"-"!:\private\10003a3f\import\apps\Testrsc_reg.rsc"

    regards
    gaurav gupta

    Have you readed article properly??? The resource file must be in C drive.
    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\E07695CA_reg.rsc"-"c:\private\101f875a\import\[E07695CA].rsc"

  13. #13
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: problem Auto starting application in 3rd edition FP1

    Quote Originally Posted by sumit.rathi View Post
    I recommend you to send Testrsc.exe and E07695CA_reg.rsc in C drive only.
    Resource file [uid].rsc must be in C drive (c:\private\101f875a\import\). The location of .exe and other file does not matter at all.

  14. #14
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    Re: problem Auto starting application in 3rd edition FP1

    sorry for that sir

  15. #15
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    Re: problem Auto starting application in 3rd edition FP1

    i have send .rsc file in private folder

    $(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\E07695CA_reg.rsc"-"c:\private\101f875a\import\[E07695CA].rsc"
    do i need to send .exe file in the same folder
    regards
    gaurav gupta

Similar Threads

  1. Problem in Porting Application from 3rd edition to 5th edition
    By manish.agarw in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-03-19, 04:47
  2. Replies: 2
    Last Post: 2008-12-18, 23:51
  3. Replies: 1
    Last Post: 2007-06-08, 10:20
  4. Application backup Problem In s60 3rd Edition
    By saji_iq in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-02-15, 17:26
  5. How to debug console application with CW3.1 and 3rd edition ?
    By 3rdparty in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-06-16, 13:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×