+ Reply
Results 1 to 18 of 18

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: clock app

is a discussion within the

3rd Party Apps Requests

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
Hello native clock app is incomplete with many cities and countries omitted. How can you includes the cities and countries you want , or if you find some in the
...
  1. #1
    Green Apple andrew's Avatar
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    9
    Thanked 1 Time in 1 Post
    Unhappy clock app
    Hello

    native clock app is incomplete

    with many cities and countries omitted.

    How can you includes the cities and countries you want , or if you find some in the time zone, to edit the text in clock app to display your choice of location?
    may the force be with us

  2. #2
    Livin the iPhone Life redcard's Avatar
    Join Date
    Oct 2007
    Location
    Scotchland
    Posts
    2,143
    Thanks
    8
    Thanked 204 Times in 184 Posts

    What ones are you missing?
    To live, you have to lie

  3. #3
    Green Apple andrew's Avatar
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    9
    Thanked 1 Time in 1 Post
    latvia
    lithuania
    estonia....
    maybe others
    may the force be with us

  4. #4
    Green Apple iPhone4_Nerd's Avatar
    Join Date
    Sep 2007
    Location
    Belize
    Posts
    86
    Thanks
    10
    Thanked 26 Times in 13 Posts

    Belize is missing too!

  5. #5
    Developer
    Join Date
    Oct 2007
    Posts
    46
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Quote Originally Posted by andrew View Post
    How can you includes the cities and countries you want , or if you find some in the time zone, to edit the text in clock app to display your choice of location?
    I live in the remote Australian capital city of Perth. I added Perth by editing the property list file /var/root/Library/Preferences/com.apple.mobiletimer.plist as attached here. You'll first need to find your city's Lat & Lon and its zoneinfo filename. Good luck,
    Attached Thumbnails Attached Thumbnails clock app-s1.jpg  

  6. The Following User Says Thank You to chrism238 For This Useful Post:

    andrew (12-28-2007)

  7. #6
    Green Apple andrew's Avatar
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    9
    Thanked 1 Time in 1 Post
    Thumbs up that's more like it !
    Quote Originally Posted by chrism238 View Post
    I live in the remote Australian capital city of Perth. I added Perth by editing the property list file /var/root/Library/Preferences/com.apple.mobiletimer.plist as attached here. You'll first need to find your city's Lat & Lon and its zoneinfo filename. Good luck,
    Terrific
    you edited the plist in which programme? I looked at your attachment. Seems quite straigthforward or some hidden traps ?
    Never been to Perth but have graced Sydney a few times.
    may the force be with us

  8. #7
    Developer
    Join Date
    Oct 2007
    Posts
    46
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Quote Originally Posted by andrew View Post
    Terrific
    you edited the plist in which programme? I looked at your attachment. Seems quite straigthforward or some hidden traps ?
    Never been to Perth but have graced Sydney a few times.
    Hi Andrew,

    I just uploaded the plist file to my Mac using Cyberduck (or anything), converted the binary file to text using plutil, edited it using my favorite editor vi, then pushed it back to my 'Touch. Hope this helps,

  9. The Following User Says Thank You to chrism238 For This Useful Post:

    andrew (12-30-2007)

  10. #8
    Green Apple andrew's Avatar
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    9
    Thanked 1 Time in 1 Post
    Quote Originally Posted by chrism238 View Post
    Hi Andrew,

    I just uploaded the plist file to my Mac using Cyberduck (or anything), converted the binary file to text using plutil, edited it using my favorite editor vi, then pushed it back to my 'Touch. Hope this helps,

    Not really sure where to find plutil but presume bbedit or text edit may be an alternaitve for vi ?
    may the force be with us

  11. #9
    Developer
    Join Date
    Oct 2007
    Posts
    46
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Quote Originally Posted by andrew View Post
    Not really sure where to find plutil but presume bbedit or text edit may be an alternaitve for vi ?
    You can edit the file any way you're able, or choose. In its original "condition" on the iPhone the plist file is in a binary format - you can either edit with a property-list editor, or convert it to XML (ASCII text) and edit it with any text editor. Then return the same file, in either format, to its original location on the iPhone. Good luck,

    [Vince, been spelling long?]

  12. #10
    What's Jailbreak?
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 2 Times in 1 Post
    Thumbs up Procedure of adding non existing city to iPhone's world clock
    I downloaded plist editor for Windows: http://modmyi.com/forums/showthread.php?t=13993
    Then I downloaded and installed ActivePerl MSI package for Windows: http://www.activestate.com/store/dow...5-08d58c2648ca

    Afterwards it's easy:
    1. copy plutil.pl to C
    2. copy com.apple.mobiletimer.plist from iPhone (/var/root/Library/Preferences/) to C
    3. open command line and run: Cplutil.pl com.apple.mobiletimer.plist
    4. open com.apple.mobiletimer.text.plist in notepad (now cretated in C)
    5. copy an existing array entry in dict/array and add it ad the end of all your existing array items
    6. edit all strings to their required values
      1. latitude // I used this site: http://www.satsig.net/maps/lat-long-finder.htm
      2. longitude // the same site as latitude
      3. don't know what this is (I left as it was and it worked)
      4. can leave empty (don't know either)
      5. country/city as folder/file from /usr/share/zoneinfo/[folder]/[file]
      6. city name
      7. country name
    7. save the file
    8. upload it back to iPhone using iPhoneList
    9. enjoy!

    I added the following entry and it worked fine:
    Code:
    <array>
    	<string>56.950000</string>
    	<string>24.100000</string>
    	<string>18</string>
    	<string>Europe/Riga</string>
    	<string></string>
    	<string>Riga</string>
    	<string>Latvia</string>
    </array>
    I attached the file that I have now. You can take it and modify, just remove the txt extension (couldn't upload .plist).
    You can upload it to your iPhone but as always - don't forget to backup the file you have
    Attached Files Attached Files
    Last edited by Cypher; 01-08-2008 at 01:02 PM.

  13. The Following 2 Users Say Thank You to Cypher For This Useful Post:

    andrew (01-08-2008), choi100 (02-21-2008)

  14. #11
    Green Apple andrew's Avatar
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    9
    Thanked 1 Time in 1 Post
    wonderful
    this is the answer i was seeking and if possible if anyone has mac experience attempting the same very useful. i suspect editing will be similar on mac anyway
    may the force be with us

  15. #12
    iPhone? More like MyPhone DVB+'s Avatar
    Join Date
    Dec 2007
    Posts
    243
    Thanks
    2
    Thanked 14 Times in 14 Posts

    TextEdit then Cyberduck

  16. #13
    Green Apple
    Join Date
    Sep 2007
    Posts
    60
    Thanks
    6
    Thanked 13 Times in 11 Posts

    on mac i use pref setter for edit plist file.

    http://www.apple.com/downloads/macos...refsetter.html

  17. #14
    What's Jailbreak?
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Hi all

    Just got my iPhone and I love it.

    I too would like to add a city to the world clock. Followed the instructions and connected using cyberduck. However, I can't find the file 'com.apple.mobiletimer.plist'. Any more help would be much appreciated.

    John

  18. #15
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,463
    Thanks
    127
    Thanked 91 Times in 65 Posts

    Quote Originally Posted by johnski2000 View Post
    Hi all

    Just got my iPhone and I love it.

    I too would like to add a city to the world clock. Followed the instructions and connected using cyberduck. However, I can't find the file 'com.apple.mobiletimer.plist'. Any more help would be much appreciated.

    John
    That file is in the application itself.
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  19. #16
    What's Jailbreak?
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by Chase817 View Post
    That file is in the application itself.
    Thanks, but it's not there either.

    john

  20. #17
    Developer NetMage's Avatar
    Join Date
    Aug 2007
    Location
    Virginia
    Posts
    1,296
    Thanks
    72
    Thanked 210 Times in 168 Posts

    The file is in ~/Library/Preferences where ~ is mobile for 1.1.3 and above and root for 1.1.2 and below.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

  21. The Following User Says Thank You to NetMage For This Useful Post:

    johnski2000 (04-27-2008)

  22. #18
    What's Jailbreak?
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by NetMage View Post
    The file is in ~/Library/Preferences where ~ is mobile for 1.1.3 and above and root for 1.1.2 and below.
    Pesky little file was there. Many thanks.

    John

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