Thread: Shake To Undo.....icons?
-
12-13-2009, 04:13 PM #1
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
-
12-13-2009, 06:32 PM #2
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!
-
01-01-2010, 11:04 PM #3I'm not a star
- 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



LinkBack URL
About LinkBacks
Reply With Quote
