[HOWTO] Fine Tuning Synchronization of Google Mail, Contacts Calendar with iPhone

Google has just launched a service where you can sync your Google mail, contacts and calendar with iPhone through the use of Exchange connection. The method described on the Google’s main page will delete all contacts and calendar. However, I only want to sync my Calendar and not my Contacts. So, instead of using the automated method, I manually fine tune what I want to sync by doing the following:

  1. Go to Settings -> Mails, Contacts, Calendars
  2. Create a new Exchange account
  3. Set the information as follows
    • Email:@gmail.com
    • Username: @gmail.com
    • Password:
    • Server: m.google.com
  4. Choose which you want to sync

Tags: , , ,

NemusSync Failure to Sync with Error Domain=GoogleAccounts Code=-1

After upgrading my iPhone to firmware 2.2, I had a problem with NemusSync. Everytime I try to sync, I received an error message “Failure to Sync” then the error code “Error Domain=GoogleAccounts Code=-1″. After scouring the web I found that I had to delete 1 file. Just to be safe, I actually move the file.

The file that needs to be removed is/var/mobile/Library/Calendar/Calendar.sqlitedb. There are some sites that talk about changing the permission, but I have not tried that. If you want to try changing the permission, you should try changing it by running the command chown mobile:mobile /var/mobile/Library/Calendar/Calendar.sqlitedb

NOTE:If you have calendar events on your phone that you haven’t sync to GCal, it will be erased after removing the Calendar.sqlitedb. Also after you move the file, you will need to run the calendar apps at least once.

Tags: , ,