×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    88

    [moved] Symbian Test Crieteria for AutoStart Application

    I developed S60 3rd Edition Application with Autostart feature. i implement using following Steps
    1) Create a .rss file.
    Ex: ECA2548B.rss
    ------------
    #include <startupitem.rh>
    RESOURCE STARTUP_ITEM_INFO mobileapp
    {
    executable_name ="!:\\sys\\bin\\MobileApp.exe";
    recovery = EStartupItemExPolicyNone;
    }

    2) Copy ECA2548B.rss file in your project's GROUP folder.

    3)Observe changes in mmp
    Above lines will be automatically added by Compiler----

    START RESOURCE ECA2548B.rss
    HEADER
    END
    4)Observe .PKG --
    ;Files to install
    ;You should change the source paths to match that of your environment
    ;<source> <destination>

    "$(EPOCROOT)Epoc32\data\z\resource\apps\MobileApp.rsc" -"!:\resource\apps\MobileApp.rsc"
    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\MobileApp_reg.rsc" -"!:\private\10003a3f\import\apps\MobileApp_reg.rsc"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\MobileApp.mif" -"!:\resource\apps\MobileApp.mif"
    ; Add any installation notes if applicable
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\MobileApp.exe" -"!:\sys\bin\MobileApp.exe" ,FR,RI
    5) Add following entry in your .pkg file at last line:
    "C:\Symbian\9.1\S60_3rd\Epoc32\data\z\ECA2548B.rsc"-"c:\private\101f875a\import\[ECA2548B].rsc"

    Its Autostart Successfully but my Confusion is that -

    " In my application i provided Autostart On/off Setting (Default OFF) for that i used Timer which Starts If the flag in the setting file is ON, it continues to run itself. If the flag is OFF, then it can call the CAknAppUi:Exit() After 6 Sec; function to terminate Application itself in the early phase of launching the application. "

    I think i am braking test Crieteria Rule here, coz i am starting my Application For 6 sec.even Autostart OFF in setting Application .
    So is it allowed or not?

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: [moved] Symbian Test Crieteria for AutoStart Application

    Starting the application for a few miliseconds (just enough for its E32Main code to verify some settings from a file) is not breaking the rules. Starting the application for a longer time, with it being briefly visible to the user, does break the test criteria.

    It is recommended that you use a GUI-less launcher, and it will start your main application *only if* the settings allow this. That will be the safest way to implement the autostart while obaying the testing criteria.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    88

    Re: [moved] Symbian Test Crieteria for AutoStart Application

    Thanks For reply...

    Quote Originally Posted by ltomuta View Post
    Starting the application for a few miliseconds (just enough for its E32Main code to verify some settings from a file) is not breaking the rules.
    when autostart is disable.my application not visible but it remain on for 5 to 6 sec.Then Exit OK. so is it OK ?

    Also Please suggest link for GUI-less launcher Thanks..

  4. #4
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: [moved] Symbian Test Crieteria for AutoStart Application

    Quote Originally Posted by uday.neo View Post
    Thanks For reply...



    when autostart is disable.my application not visible but it remain on for 5 to 6 sec.Then Exit OK. so is it OK ?

    Also Please suggest link for GUI-less launcher Thanks..
    GUI-less launcher is some kind of console exe application, which can be started without output console or GUI to the user. your own GUI app can be started by it indirectly.


    Regards

    Pai
    Symbian && Android && iPhoneOS

Similar Threads

  1. Do Symbian rejects the Express Signing request on any Business Development ground?
    By arpit2agrawal in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 23
    Last Post: 2009-02-19, 10:46
  2. Replies: 1
    Last Post: 2009-01-19, 08:58
  3. Starting a hidden Icon Application in Symbian.
    By nital_shah in forum General Development Questions
    Replies: 3
    Last Post: 2008-06-18, 07:22
  4. Development of a dictionary application in Symbian S60
    By som_mukhopadhyay in forum Symbian
    Replies: 0
    Last Post: 2008-04-24, 05:21
  5. size of a symbian application
    By horaceng in forum Symbian
    Replies: 6
    Last Post: 2004-09-25, 06:25

Posting Permissions

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