Communicate with UIHardware and Cydia respring after install

Discussion in 'iOS Development' started by developstarter, Oct 7, 2010.

  1. developstarter

    developstarter New Member

    Oct 5, 2010
    Likes Received:
    Hi guys,

    I'm searching for a method to communicate with UIHardware (to turn off device (not respring / reboot!) and to get and set the ringerState).

    Okay, or one could help me out on how to get SpringBoard.h imported the right way.

    Importing the dumped header
    won't work.

    Currently, I'm stuck on
    Secondly, I would like to know, to tell Cydia to respring the device after installing my .deb file, so the user just has to press "Respring device".

    Thank you very much!
  2. lauNchD

    lauNchD Well-Known Member

    Jan 27, 2008
    Likes Received:
    iPhone 5 (Black)
    1. SpringBoard is not a library or framework. It's an executable that you can't just link to. Maybe it's overkill, but you could create a Mobile Substrate extention that "lives" inside SpringBoard and will trigger the shutdown command from "within" once a specific notification is posted.

    2. I think you have to ask your repository hoster to configure the package to require a Respring, but I may be wrong. You could check out Cydia's source code.

Share This Page