Syncing automatically Google Calendar with your phone

This is the procedure to have your Google Calendar synchronized with your mobile phone.

This is a list of what you need:

  1. A Bluetooth Sync enabled phone.
  2. iSync
  3. iCal
  4. Google Calendar

Go to your Google Calendar, choose “Settings” and then go to the “Calendars” tab.

gcalendar.gif

Click to the chosen calendar, usually “Name Surname”.

exportcalendar2.gif

There’s a icon name “ICAL”. This is the export link of the calender for the Apple iCal.
Copy the Link Location.

Now launch iCal, and from the menu Calendar choose “Subscribe…”.
Enter the private URL taken from the Google Calendar from the previous step.
Set the Auto Refresh parameter to the minimum value: 15 minutes.

ical_settings.gif

Now, launch iSync, and add your mobile phone to the device list:

isync.gif

Be sure to synchronize you Google Calendar, in this case “Syncro”.

Now, launch AppleScript Editor and create a little AppleScript file by typing the following content:

Tell application “iSync”
activate
synchronize
repeat until syncing is false
if syncing is false then
quit
end if
end repeat
quit
end tell

Save the file Document folder with “syncMobile” name.

Now we tell the OS X to synchronize with the mobile:

Launch a Terminal and type the following commands:

crontab -e

enter the following line (my username is “mauro“, change it to your username) :

30 7,20,21,22 * * 1-5 osascript /Users/mauro/Documents/syncMobile.scpt

Starting from now, every day from Monday to Friday, at 7:30 then 20:30, 21:30 and 22:30 your Mac
will try to synchronize your handset with the contents of Google calender, but ONLY if is in the Mac range!!

Have nice syncing.

Author: Mauro

A tech blog

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s