+ Reply
Results 1 to 3 of 3
  1. #1
    Green Apple
    Join Date
    Jan 2008
    Location
    Campbell, CA
    Posts
    32
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Shake To Undo.....icons?

    I was being insanely bored last night and just started randomly shaking my iPhone (yes, I know, I think I have some mental issues ) and when I stopped I noticed that I had managed to active the icon reorder function and had moved some icons around. Then I got to thinking; I wonder if it would be possible to shake to undo the reordering of icons?

    So, basically, you would be able to reorder your icons and then if you don't hit the home button, to stop them from wiggling, you could shake the phone and they would stop wiggling and be where they were before you moved them. Thereby not saving the NEW locations of the icons.

    Is this possible?

    -Calvin

    P.S. I'm taking an iPhone development class at my college next semester and plan to use that knowledge to get me started on writing apps and what-not for my jailbroken iPhone (as well as for Apple's App store), but until then I'm clueless LOL

  2. #2
    Green Apple demonslave's Avatar
    Join Date
    Nov 2009
    Location
    Rochester, MI
    Posts
    35
    Thanks
    1
    Thanked 4 Times in 4 Posts

    hah, that's quite the idea. anything is possible, and it seems like it would be relatively simple. However, I don't think the ipod "memorizes," to say, the location of the icons, though, so you would probably have to save the layout somehow, and shaking would just set it back to that. *shrug* good luck with it!

  3. #3
    I'm not a star Imahottguy's Avatar
    Join Date
    Jul 2007
    Location
    MI, USA
    Posts
    2,420
    Thanks
    91
    Thanked 161 Times in 140 Posts

    Blog Entries
    3
    Actually, I bet this is doable. The location for each icon is saved in com.apple.springboard.plist under /var/mobile/library/Preferences

    Springback does a similar thing to what you want, only it doesn't do it via Mobile Substrate. You would most likely be writing a MS (Mobile Substrate) Dylib that would "listen" to the accelerometer when the icons are in wiggly mode. If a definitive shake is interpreted, then it will cancel the edit, and revert to what it was prior to the edit. If not, then it will allow the new locations to be set in stone (for the moment lol).

    I'm not a dev, so I couldn't tell you how easy or difficult this is. But good luck!
    And it will be like a taco inside a taco within a Taco Bell that's inside a KFC that's within a mall that's inside your dream! Springboard screwy after reboot? Here is the fix

Posting Permissions

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