Over a million developers have joined DZone.

Cloud-sync your iOS calendars (bonus: PC/Mac)

DZone's Guide to

Cloud-sync your iOS calendars (bonus: PC/Mac)

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

Scenario: You have an iPhone or an iPad and would like to collaboratively edit calendars. You probably want both web and offline access. Thus, neither syncing with iTunes on your PC/Mac nor using a web application such as Google Calendar is an option. This leaves you with the following alternatives:
  1. Mobile Me: Allows you to sync your iOS device over the internet and provides a web application to manage the calendars. Pro: I’ve heard good things about the web application. Con: Costs.
  2. Microsoft Exchange: You need an exchange server. I don’t know more about this solution, so I cannot comment on pros and cons.
  3. Google Calendar: There are several ways of syncing your Google Calendar account with iOS. Pro: free, nice web app. Con: You depend on Google which is often slow to fix bugs and completely shuts itself off from customer requests.
(1) and (2) are fairly well documented. For (3), there are the following options:
  1. Google Sync: Allows you to sync your Google Calendars as an MS Exchange account. Note: If you want to sync more than one calendar, you need to configure this via Google Sync at http://m.google.com/sync/ Warning: works only from an iPhone. On other devices, you need to fake the iPhone as the browser user agent.
  2. Google Calendar CalDAV: Uses the CalDAV protocol for synchronization.
  3. Calengoo: Is an app for the iPhone/iPad that directly accesses Google Calendar and also works offline. Has a nice user interface, many people seem to prefer it to the built-in calendar. Con: Costs.
  • (1) and (2) are compared in a thread on Google’s support forums. Summary: Google Sync is currently better (uses less battery, does push).
  • Calendars that you sync between your PC/Mac and iPhone/iPad can be unsubscribed either before or after adding the calendars from Google Calendar. In the latter case, don’t remove anything existing when adding the new data (there is an option to do so when adding an account). In either case, iTunes offers you to remove the calendars from your iOS device when you unsubscribe.
You can also synchronize your Mac or PC bidirectionally with Google Calendar:
Related reading: The Google Sync homepage gives a good overview of all available options for syncing Google data.

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.


Published at DZone with permission of Axel Rauschmayer, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}