×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    49

    Autostart problems after enabling phone security settings

    Hello,

    Currently I'm using s60launcher in order to provide user selectable autostart feature for my Qt console applications. I noticed that if I enable either "Phone autolock period" or "Remote phone locking" via phone security settings (both cause Lock code query during startup) my applications won't start anymore. After disabling those options the autostart feature works once again. In addition, I created a simple test application based on this example and same problem recurs:

    .pro file
    Code:
    symbian {
        TARGET.UID3 = 0x06000001
        TARGET.EPOCSTACKSIZE = 0x14000
        TARGET.EPOCHEAPSIZE = 0x020000 0x800000
    
        # Define rss file for autoboot
        autoStartBlock = \
        "SOURCEPATH      ." \
        "START RESOURCE 06000001.rss" \
        "END"
    
        MMP_RULES += autoStartBlock
    
        # Deploy rsc file to package.
        deployRscFile = "\"$${EPOCROOT}epoc32/data/06000001.rsc\" - \
        \"C:/private/101f875a/import/[06000001].rsc\""
        deployFiles.pkg_postrules += deployRscFile
        DEPLOYMENT += deployFiles
    }
    main.cpp
    Code:
    int main(int argc, char *argv[])
    {
        QCoreApplication a(argc, argv);
        qInstallMsgHandler(ToFile);
        qDebug("Start");
        QTimer::singleShot(30000, &a, SLOT(quit()));
        return a.exec();
    }
    I have been able to reproduce this problem on N8 and E52. On N97 and E51 everything seems to be fine (so far...). However, I think there might be something weird going on with the autostart order or something like that, which makes it work on certain devices.

    Does it sound familiar? Is there any additional way to debug those autostart applications in order to find a cause to this behavior?

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    49

    Re: Autostart problems after enabling phone security settings

    Any comments on this one?

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Autostart problems after enabling phone security settings

    I have a comment but not necessary knowledge.

    Actually i do not know anything about "autostart" apps, but should
    you use unsigned unprotected E-range (=post Symbian OS v9)
    (0xE0000000 - 0xEFFFFFF = development use only) and sign
    app if needed.

    I think that range 0x01000000 - 0x0FFFFFFF is for pre-v9 usage.
    I was discussing about TARGET.UID3 value.

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    1

    Re: Autostart problems after enabling phone security settings

    hi my name is sylvia ,i found your post after much Googling. i am not a developer but have a nokia N8 with auto start problems .
    my first one had a hardware fault and was replaced but even the new one refuses to auto start apps from ovi store which are set to auto start. i
    had my security settings set as you did, with the lock code ,so i changed them back in hopes that apps would then auto start.
    no such luck. i am at my wits end wondering what settings to use to allow apps to autostart.
    any help or advice would be much appreciated
    i may have to hard reset, which i fear will bring a new set of problems from what i have read re qt libraries being damaged etc.

  5. #5
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Angry Re: Autostart problems after enabling phone security settings

    Hello Tuomo.
    have you find solution for this problem?
    I m facing the same situation not only on N8 but also on C7 device.
    If user enter lock code just after it is prompted everything autostarts fine but if he will wait for few minutes none of the application will start.
    It is not only problem with my developed applications but also with for example fring.
    Do we have to wait for Symbian to fix it in software update or there is any other way we can use to autostart applications ?

Similar Threads

  1. Autostart enabling
    By Syldinn in forum Symbian
    Replies: 10
    Last Post: 2010-06-10, 12:40
  2. Disabling/enabling autostart programmatically
    By egawthrop in forum Symbian
    Replies: 2
    Last Post: 2008-08-21, 12:29
  3. Problems enabling SIP profile
    By acarrion in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-07-19, 20:35
  4. automatic enabling moblie phone options
    By kirankumarraok in forum General Development Questions
    Replies: 0
    Last Post: 2005-03-24, 08:31
  5. Replies: 3
    Last Post: 2003-09-19, 20:26

Posting Permissions

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