×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Question How to add autostart in meego?

    Hi all,

    i want to add autostart to my application..
    how i can achieve that in meego?
    i have add it in symbian using the following:
    symbian {
    # Define rss file for autoboot
    autoStartBlock = \
    "SOURCEPATH ." \
    "START RESOURCE 2005eefa.rss" \
    "END"

    MMP_RULES += autoStartBlock

    # Deploy rsc file to package.
    deployRscFile2 = "\"$${EPOCROOT}epoc32/data/2005eefa.rsc\" - \
    \"C:/private/101f875a/import/[2005eefa].rsc\""
    deployFiles2.pkg_postrules += deployRscFile2
    DEPLOYMENT += deployFiles2
    }
    but how can add similar for meego?

    Any help will be appreciate

    Thank you

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,020

    Re: How to add autostart in meego?


  3. #3
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: How to add autostart in meego?

    Quote Originally Posted by vineet.jain View Post
    Hi, thank you for the link, but i still cant achieve my goal

    how to create the conf file?
    i tried to add it as resource file and copy it at run time but i was enable to copy it to the path /etc/init/apps

    any help about this?
    thank you

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    7

    Re: How to add autostart in meego?

    You must build project with *.conf file (see my post in thread http://www.developer.nokia.com/Commu...kia-N9-Autorun). Just update *.pro file with:

    contains(MEEGO_EDITION,harmattan) {
    mydaemon.files = MyApp.conf
    mydaemon.path = /etc/init/apps

    INSTALLS += mydaemon

    startup.files = startup.sh
    startup.path = /opt/MyApp/bin

    INSTALLS += startup
    }





    -------------------------------------------------------
    MyApp.conf, startup.sh - in the same directory.
    /etc/init/apps,/opt/MyApp/bin - destination directory( installer copy files in this directory ).

    use script from my thread

  5. #5
    Registered User
    Join Date
    Apr 2011
    Posts
    7

    Re: How to add autostart in meego?

    Also reference on meego forum http://forum.meego.com/showthread.php?t=5445

  6. #6
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: How to add autostart in meego?

    Quote Originally Posted by blackalik View Post
    Also reference on meego forum http://forum.meego.com/showthread.php?t=5445
    Thank you a lot blackalik
    it works
    Regards
    Rondo

Similar Threads

  1. SIP and VPN on MEEGO ?
    By cchaulvet in forum General Development Questions
    Replies: 0
    Last Post: 2011-07-10, 18:30
  2. Will MeeGo be available on N8 ?
    By edyuy in forum General Development Questions
    Replies: 7
    Last Post: 2011-04-28, 14:02
  3. Qt for MeeGo?
    By Texrat in forum Qt
    Replies: 3
    Last Post: 2010-12-01, 08:34
  4. Meego
    By stevejanko in forum Mobile Java General
    Replies: 2
    Last Post: 2010-11-14, 09:42
  5. Replies: 2
    Last Post: 2010-10-22, 23:35

Posting Permissions

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