+ Reply
Results 1 to 2 of 2
  1. #1
    What's Jailbreak?
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Autostart app and relaunch on crash

    Hi

    I've written an app to control some things in my house.
    Other people are also using it and i don't wan't them to be able to close the app.
    I already disabled the menubutton and lockbutton with MobileSubstrate libs.

    However the app sometimes crashes and it's also possible to get to the homescreen after the ipod reboots(for example if the battery runs out).
    I need to launch the app immediately at startup and also relaunch it automatically if it crashes.

    I already checked out launchd and launchctl, but wasn't able to start an UI-app.

    Can somebody please help me?
    Thanks in Advance!

    EDIT: Device: IPod Touch 2.5G 8GB with Blackrain jailbreak


    PS: sry for my bad english

  2. #2
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    10
    Thanks
    0
    Thanked 4 Times in 2 Posts

    Bump. I'd like to know as well. I tried messing around with launchd/launchctl without success. In my case I'm trying to get iDNS to launch automatically at startup.

    [edit] There's a package in Cydia called "Hell Launchd Routines" which sounds promising except I have no clue how to use it. Can anyone provide some guidance on this? Thanks [/edit]
    Last edited by ddarko777; 01-16-2010 at 02:28 PM. Reason: note

Posting Permissions

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