Discuss Wake iphone like MobileMail.app does? #Bash Script at the iPhone Developer Exchange - Hackint0sh.org; ...
Wake iphone like MobileMail.app does? #Bash Script
i search for 3 days now to find a solution.
I wrote a simple Bash Script so use Relocatable all 15 minutes.
Until the iphone is not in sleep it work like a charm.
But if it in sleep mode...the whole script stop working.
Now i tried pingwifi but doesnīt work (Maybe cuz 2.2.1??)
So the big question...is there any way without Insomnia?
I donīt find a solution to wake the iPhone "on Demand" or every 30 Minutes or so like MobileMail.app does.
PLEASE help me...i canīt sleep because i donīt want to accept that there is no Way to do it.
Greets from Germany
You can use insomnia to wake the iphone at a certain interval. Check here: iphone-insomnia - Google Code
Though this would probably require you to create a small application instead of a bash-script.
i tried to figure out how this works.
Sadly im an C/ObjC noob.
Did anybody made a little prog that use this code and wake the Phone on a specific Interval?
NSCalendarDate *nextWake = [[NSCalendarDate calendarDate] dateByAddingYears:0 months:0 days:0 hours:0 minutes:25 seconds:0];
CPSchedulePowerUpAtDate((CFDateRef)nextWake); // From AppSupport framework
Have no clue how to implement...
Who can help me?
That code is complete. Just enter it where ever needed and compile it with the AppSupport framework.
Originally Posted by katanapod
I use makefiles, so I just add "-framework AppSupport" to my LDFLAGS. Have no idea how to do it with Xcode, probably some click and done.
By jaybee16 in forum AppleTV 1
Last Post: 07-17-2009, 05:00 AM
By raziiq in forum iPhone Developer Exchange
Last Post: 07-16-2009, 06:07 AM
By davidhperry in forum General
Last Post: 01-14-2008, 05:46 AM
By speci in forum General
Last Post: 12-19-2007, 08:58 PM
By elbarlo in forum General
Last Post: 07-31-2007, 09:17 PM