×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    16

    Auto start and Auto installation

    Hi all,

    ----> I want to install my application automatically and after instalation it should start without user permission.

    ---->And also after system reboot also that should start, please help me any one

    Thanks and Regards
    Sunitha Devi.M
    LnT Infotech

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: Auto start and Auto installation

    Quote Originally Posted by sunithadevim View Post
    Hi all,

    ----> I want to install my application automatically and after instalation it should start without user permission.

    ---->And also after system reboot also that should start, please help me any one

    Thanks and Regards
    Hi sunitha,

    I think, There is no way to install sis file in phone without aware of user. We need system installer for install sis file but next thing you can do without user permission...

    1>for Autostart...Set RI,FR these parameter in mmp file after exe i.e exe will start without any permission
    2>system reboot---implement recognizer and launch exe at boot time...

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    16

    Re: Auto start and Auto installation

    Hi kishore,

    Thanks for reply , I mad some che=anges in my application to auto start after reboot , Iam witing that changes please let me know my mistakes, I create a sisx file with certicate of N65. When i tried to install it is not installing in the system("Unable to install pop up iam getting), Same certificate iam using for other application those application installed properly.

    In mmp file
    -->Changed UID from 0x678A57AB to 0x278A57AB
    added following lines
    SOURCEPATH ..\data
    START RESOURCE 278A57AB.rss
    END //RESOURCE

    Created 278A57AB.rss file in Data folder with following code
    #include <startupitem.rh>
    RESOURCE STARTUP_ITEM_INFO startexe
    {
    executable_name = "c:\\sys\\bin\\Auto.exe";
    recovery = EStartupItemExPolicyNone;
    }
    In pkg file i added this code

    "c:\symbian\9.1\s60_3rd\Epoc32\Data\z\278A57AB.Rsc"- "!:\private\101f875a\import\[278A57AB].rsc"
    "c:\symbian\9.1\s60_3rd\Epoc32\release\gcce\urel\Auto.exe" - "!:\sys\bin\Auto.exe",FR,RI

    Thanks and Regards
    Sunitha Devi.M
    LnT Infotech

  4. #4
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: Auto start and Auto installation

    Quote Originally Posted by sunithadevim View Post
    Hi kishore,

    Thanks for reply , I mad some che=anges in my application to auto start after reboot , Iam witing that changes please let me know my mistakes, I create a sisx file with certicate of N65. When i tried to install it is not installing in the system("Unable to install pop up iam getting), Same certificate iam using for other application those application installed properly.

    In mmp file
    -->Changed UID from 0x678A57AB to 0x278A57AB
    added following lines
    SOURCEPATH ..\data
    START RESOURCE 278A57AB.rss
    END //RESOURCE

    Created 278A57AB.rss file in Data folder with following code
    #include <startupitem.rh>
    RESOURCE STARTUP_ITEM_INFO startexe
    {
    executable_name = "c:\\sys\\bin\\Auto.exe";
    recovery = EStartupItemExPolicyNone;
    }
    In pkg file i added this code

    "c:\symbian\9.1\s60_3rd\Epoc32\Data\z\278A57AB.Rsc"- "!:\private\101f875a\import\[278A57AB].rsc"
    "c:\symbian\9.1\s60_3rd\Epoc32\release\gcce\urel\Auto.exe" - "!:\sys\bin\Auto.exe",FR,RI

    Thanks and Regards
    Hi sunithadevim,

    In reboot time No need FR,RI in recognizer coz it's automatically launch auto.exe from STARTUP_ITEM_INFO and you can use FR,RI launch other exe/application at Installation time.

    "c:\symbian\9.1\s60_3rd\Epoc32\release\gcce\urel\Auto.exe" - "!:\sys\bin\Auto.exe"

    If you are using developer certificate then you will need protected UID and self signed then you will need non-protected UID.

    It may be...you use same UID in other application which is already installed in phone...

  5. #5
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Auto start and Auto installation

    Please refer to the forum/wiki for working example snippets. This has been discussed many times already.

  6. #6
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Thumbs up Re: Auto start and Auto installation

    Hi Sunitha

    Kishore said right, check ur UID in ur application, and if it is right, then format ur mobile and install again, it will install if every thing is perfact. Use the followig code in your rss file for auto start application after bootup the mobile.


    #include <startupitem.rh>

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



    With best regards
    Amit

  7. #7
    Registered User
    Join Date
    Oct 2007
    Posts
    16

    Re: Auto start and Auto installation

    Hi Kishore,

    I tried with that also, If i try to install it, installation started normally and in the middle it is giving error msg.

    Thanks and Regards
    Sunitha Devi.M
    LnT Infotech

  8. #8
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: Auto start and Auto installation

    Quote Originally Posted by sunithadevim View Post
    Hi Kishore,

    I tried with that also, If i try to install it, installation started normally and in the middle it is giving error msg.

    Thanks and Regards
    Hi,

    Go through below link and compare your source code.....

    http://wiki.forum.nokia.com/index.ph...Management_API

  9. #9
    Registered User
    Join Date
    Oct 2007
    Posts
    16

    Re: Auto start and Auto installation

    Hi Kishore,

    Sorry for late reply, If i create a new project with UID 0x2xxxxxxx autorun is working but I Try to run the application which start with UID 0xExxxxxxxx is not working.


    Thanks and Regards
    Sunitha Devi.M
    LnT Infotech

Similar Threads

  1. How to auto start a program in S60 3rd Edition?
    By classicsong in forum Symbian
    Replies: 34
    Last Post: 2008-04-12, 14:10
  2. Replies: 16
    Last Post: 2007-07-16, 05:25
  3. Auto start and embeded SIS file
    By zabbas12 in forum Symbian
    Replies: 5
    Last Post: 2007-04-12, 06:59
  4. Replies: 2
    Last Post: 2006-03-11, 09:29
  5. Auto start application related question
    By white_dragon in forum Symbian
    Replies: 1
    Last Post: 2005-01-27, 07:37

Posting Permissions

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