+ Reply
Results 1 to 13 of 13
  1. #1
    iPhone? More like MyPhone shaiss's Avatar
    Join Date
    Sep 2007
    Posts
    261
    Thanks
    6
    Thanked 34 Times in 22 Posts

    Lightbulb Add Custom Home-Button Double Tap shortcuts

    By editing:
    Home Button.plist in /Applications/Preferences.app/
    and
    Home Button.strings in /Applications/Preferences.app/English.lproj/
    (Both above files available edited in the attached zip file)
    I was able to result with the folowing



    This SHOULD work as the camera choice has
    com.apple.mobileslideshow-Camera entered.

    BUT when you do use it the value in /private/var/root/Library/Preferences/com.apple.springboard.plist
    for doubletap is gone and there is no longer a key at all.

    Can any help me figure this one out? yes, you can manually edit the com.apple.springboard.plist file and put whatever you want. But it would be soooo much better to just have it in the menu as if Apple wanted you to have the freedom to choose which app.

    Anyone???

    EDIT: Just wanted to add that this is on a 1.1.2 phone, jailbroken. I have a mac, win, and linux machine, so I'm open to ANY ideas.
    Attached Files Attached Files
    Last edited by shaiss; 11-19-2007 at 04:36 PM. Reason: added iphone version

  2. The Following User Says Thank You to shaiss For This Useful Post:

    porktart (11-21-2007)

  3. #2
    Livin the iPhone Life iphonejeff's Avatar
    Join Date
    Jul 2007
    Location
    Los Angeles
    Posts
    1,339
    Thanks
    18
    Thanked 70 Times in 62 Posts

    huh?
    mod edit, old signature removed

  4. #3
    Green Apple
    Join Date
    Oct 2007
    Posts
    80
    Thanks
    2
    Thanked 7 Times in 5 Posts

    ha, no idea shaiss, but that sure is looking good.

    good luck and let the force be with you.

  5. #4
    iPhone? More like MyPhone shaiss's Avatar
    Join Date
    Sep 2007
    Posts
    261
    Thanks
    6
    Thanked 34 Times in 22 Posts

    Yeah, I've kinda hit a rock. I'm hoping someone will read this and have some ideas. otherwise my option is to spend days on end going through all the phones plist files

  6. #5
    Developer
    Join Date
    Jul 2007
    Posts
    112
    Thanks
    0
    Thanked 31 Times in 29 Posts

    Not sure if it has relevance but this Dict is in General.plist (preference.app)


    <dict>
    <key>cell</key>
    <string>PSLinkCell</string>
    <key>detail</key>
    <string>HomeButtonController</string>
    <key>label</key>
    <string>HOME_BUTTON</string>
    <key>requiredCapabilities</key>
    <array>
    <string>unifiedIPod</string>
    </array>
    </dict>


    Greg

  7. #6
    iPhone? More like MyPhone shaiss's Avatar
    Join Date
    Sep 2007
    Posts
    261
    Thanks
    6
    Thanked 34 Times in 22 Posts

    thanks greg. I looked through that. Unless my understandings wrong. I believe that dict just specifies the home_button but doesnt actually say what it does.

    I'm thinking its actually hard coded

  8. #7
    Developer
    Join Date
    Jul 2007
    Posts
    112
    Thanks
    0
    Thanked 31 Times in 29 Posts

    Shaiss,

    Your best bet might be a separate "home button" app that works like a modified launcher but instead of opening the app, assigns it to the home button. That way you could assign ANY program to the home button and only dynamically change the value in com.apple.SpringBoard.plist.

    Greg

  9. #8
    Green Apple
    Join Date
    Nov 2007
    Location
    Glendale CA
    Posts
    62
    Thanks
    30
    Thanked 1 Time in 1 Post
    hmm

  10. #9
    iPhone? More like MyPhone shaiss's Avatar
    Join Date
    Sep 2007
    Posts
    261
    Thanks
    6
    Thanked 34 Times in 22 Posts

    Good idea greg, but for now I have no programing knowledge for obj-C so this will have to do.

    Anyone have any other ideas?

  11. #10
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    23
    Thanks
    0
    Thanked 7 Times in 5 Posts

    shaiss, I posted iPhoneHome over in the launch forum. I built a small application to do exactly what you are looking for.

  12. #11
    What's Jailbreak?
    Join Date
    Jan 2008
    Posts
    25
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Are you attempting to enable the home button as a clicker to take pictures?

  13. #12
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post
    I FIND SOLUTION!
    u can edit \var\root\Library\Preferences\com.apple.springboar d.plist for this.

    <key>SBDoubleTapURL</key>
    <string>doubletap://com.google.code.mobile-rss</string>

    in this fragment i assign RSS app to dbltap on home button

  14. #13
    What's Jailbreak?
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hello,

    This thread is interresting, I wonder if we can custom more than juste the doucle click ? For instance, detecting when we keep the home button pushed?

    Another question, do you think there is a way to customize the headset button?

    Thanks.

    Jonathan

Posting Permissions

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