iPad + iPhone's Clock app

Did a little experimenting this evening which brought some amusing and useful results, so I've been asked to share:

The iPhone 'Clock' application can be made run on iPad (for the most part) and it scales up pretty well. It runs perfectly fine in the SDK sandbox and it also is capable of setting system alarms (and the alarms can run in the background, as you do on your phone). Naturally this is pretty useful, as I don't believe there is any way to set wake-up alarms on iPad right now without this.

Considering I'm using iPad for everything now, I think an alarm ability might be of use!

THE STEPS

0: Be a paid developer in the iPhone Developer Program (prerequisite, you can't do this any other way)

1: Find a copy of the iPhone 3GS version of Clock (MobileTimer.app) for 3.1 or so (I've tested it back to 3.0, the 3.0 version works but the Stopwatch tab crashes)

2: Edit the Info.plist in the application to add the array key 'UIDeviceFamily', with two sub items '1' and '2'

3: Codesign the MobileTimer application (I use Terminal manually, Erica Sadun has a script that works too)

4: Drag and drop your newly-signed app to the Applications list for your iPad in the Xcode Organizer

5: Run the MobileTimer application on your iPad

You'll notice that it only runs in portait mode, which is a bummer. I'm sure you could fix this with some clever editing of the binary but I can't be bothered. The Timer tab doesn't quite work at all, so pretend it doesn't exist. You'll most likely also want to provide your own Default.png images or you'll have a horrible blurry splash screen.

Have fun!

Update:

The alarm time picker will refuse to show unless you omit step 2. Omitting step 2 makes the app run as an iPhone app (i.e. not fullscreen) but enables all functionality across all tabs. However, alarms you set in mini-mode will persist so if you need to you can pre-set all your alarms beforehand in that mode, and in the big mode only enable the alarms when you need them. Make sense?

Screenies:

5 comments:

  1. you cant pick the time for the alarm? i can add alarm but i cant pick what time the alarm should go off.

    ReplyDelete
  2. I did everything except for step 3, because it was throwing errors and this didn't work for me, because of that. Can you be more specific about step 3? Do I have to put in my certificate name? Because that didn't work... I'm just kind of confused what goes there, I tried leaving it as iPhone developer, running it with a sudo, just can't think of what else to try.
    Thanks a lot, looking forward to this!

    ReplyDelete
  3. Any thoughts about the default clock from the itouch, specifically the "timer""when timer ends", and lets me set how many minutes.

    Thank you!

    Pamela

    ReplyDelete
  4. Boy, I want this app. Nothing like it in the iPad apps yet--it's simple, it's powerful, it works. Somebody make it and release it!

    ReplyDelete
  5. I think there is a method more easy to do:

    I just transferred the Mobile Timer application using iFile, from my iPhone 4 with 4.3.1 to my iPad 1 with 4.3.3 (please note you must zip the application in the iPhone, transfer via bluetooth, and unzip on the iPad; let iFile to do all the job!).

    After respring, the clock application appeared and it is working perfectly, exactly the same way in the iPhone.

    Also, I tried transferring the Calculator and the Wheater, and same success: they are working perfectly except Weather that is prepared to run on the iPad (!!) but does not have bitmats for 1024x768 so it looks little weird.

    If you don't want to see them in a box (cause iPad detect there are iPhone applications and resize them), you can use RetinaPad from Cydia to use the retina resolution and see them really big but without the giantic pixels using 2x.

    ReplyDelete