What is GCalendarSync? Go to the project page…
First, the links: source | binary cab
If you just want to use it on your mobile, hit that binary cab link from pocket IE and it will install for you. No, I didn’t sign my assemblies (i don’t have a real certificate), so be prepared to click through some warnings. You’ll need the .NET 2.0 Compact Framework installed for this app and you can get it from Microsoft here.
I have been using it for a day now with no issues but all the usual disclaimers apply. Use it at your own risk. I’m releasing this under the Creative Commons Attribution-ShareAlike 2.5 License. Share it and Remix it, but let me know what you’re doing with it so we can enjoy it too.
More detailed release notes after the jump…
Important Note
Make sure your device timezone is set correctly.
When the app launches, the status bar will show your timezone, if it’s not correct go fix it before you sync. Google stores in GMT, and the app has to convert to local time for you. If your timezone isn’t right you’ll get wierd times on all your appointments, then you’ll have to delete them all off your device and re-sync. Not fun. Trust me.
Basic Usage
- After you put in your account information and click Pick Calendars, it will connect and attempt to list your available calendars for you
- Check off one or more calendars.
- Make sure you go to Options->Choose Default. This will allow events created on the mobile device to be exported back to the google calendar.
- Click Done and then Yes to do the initial import.
- Import will take a little while, depending on how many events you have in the calendar. (All events are imported, this will be more flexible in the future)
Notes
Persistent Storage
All user settings are stored in plaintext in an xml file in the application directory. If you click the “Save Password” checkbox, then your password will also be stored in plaintext. I am minimally concerned about this myself, if that bothers you consider not saving your password, though you will have diminished functionality if you do that. There are a few places where the app uses the stored password instead of the text box value (an oversight on my part, this will be changed in the next release).
Sync Functions
New events created either on the Mobile or Online are synced. Changes made Online to dates and titles will be reflected on the mobile device. Other changes will not be merged. Date/Title changes on the mobile device to events already existing online will be overwritten by the online data. I need to write a better sync/merge function and that will come in the next release.
Authentication Issues
It appears that on occasion there is a random authentication failure to the API. I am guessing this happens if you try to sync too often, but couldn’t find any supporting documentation from google. If anyone wants to track that down, I’d be grateful.
Error Reporting
Errors which occur during runtime are recorded in a file somewhere near \applicationData\GCalSync\GCalSyncErrors.xml – this will help developers, and if you want to report bugs to me, include the stack trace from the error when you do.
Outlook
If you sync using ActiveSync or the Vista Sync Center, events added to your mobile calendar by this application will be merged back into your outlook calendar on the desktop. I don’t use Outlook, so I don’t think it’s a big deal, but it might affect you so you should know about it.
Future Plans
Merge Sync
As mentioned above, this feature is in progress.
Import Date Range Selection
To allow user to specify which events to import. i.e. everything from one week ago through two months in the future. or something.
Deletion Handling
Right now I have no way to detect and mirror event deletions, if you delete something from your mobile calendar, it will be re-imported at the next scheduled time. If you delete something online, it won’t be deleted off the mobile but will be orphaned instead. To handle this will require a more persistent state mechanism so that I know when an online event that used to be there doesn’t show up in the event list anymore.
Public Calendar URL Support
Right now you can import public calendars by just adding them to your Google Calender collection of calendars. Public calendars are also visible via a direct URL and I want to add a function so you can anonymously connect to calendars (even if you don’t have a Google Calendar account at all, you should still be able to import events from the Georgia Tech Basketball 06-07 public calendar for instance)
That’s it for now
If you have suggestions for improvements and features, leave me a comment and I’ll see what I can do. If you take the source and do something cool with it, drop a note so that everyone can check out your take on it.
Tried installing your program on my Windows Mobile 5 Smartphone, Samsung Blackjack. When I tried to run it, it said that I do not have the latest Compact.Net frameworkin installed on my device. Any suggestions?
Same issue as adk with the Moto Q.
Hey adk and musox – you can get the .NET Compact Framework directly from Microsoft here.
I’ll update the posting to mention this requirement.
Hi !
I am afraid u had forget to mention this tool works only on Windows Mobile 2005. Am i rigth??
Thx.
It runs fine for me on my T-Mobile MDA, but every time I plug in my user name (email) and password it returns a login error. I’m checked my password at least 10 times, but I’ve never gotten it to work.
Suggestions?
Also, I’ve been syncing my calendar manually to my Mobile device with the Missing Sync, so there are some appointments on my device right now, when I get it to sync, will those be doubled up on my Google Calendar? Would I be better off starting with a clean mobile calendar when trying this?
I always get “FAILED. Check username and password.” I checked several times and username and password are right, anything else it could be? I’m trying this on a T-Mobile Dash if it makes a difference.
I’m in the same situation as Martin.
Also, one question: I already have calendar items in my mobile from syncing with iCal. If I can get it to sign in and sync, will those things go up to Google and effectively double my appointments? Would it be better if I start the sync with a clean calendar on my Mobile?
Isn’t there a program you install and does it automatically?
OK, starting early this morning the authentication failure went 100% of the time, turns out it was a little change in the headers of what Google sends back. The download link has been fixed, and I posted an explanation of the change here
Joseph – not sure what you’re asking. I haven’t written an ActiveSync installer, so you just need to point your pocket IE browser on the PDA/Phone over to that Binary url (http://files.thegooley.com/gcal/gCalSyncSetup.cab) and it will prompt you to download and install. Make sure you install the .NET Framework first though, as detailed in this post.
I’ve been trying to install the .net compact framework on my PPC6700 for a few minutes now with no luck. Is anyone else able to install it? If so, how did you get it to show up in ActiveSync? My installer just made the folders on my PC in C:\Program Files\yada yada and I’ve been trying to install all the CAB files within the Windows CE folders with no luck.
I have a vx6700 and have the .Net 2.0 with service patch 1 installed without a problem. You definitely need a couple of megs of free space on the 6700 to install however. It does show up in ActiveSync as “Microsoft .NET CF 2.0″.
On the GCalendarSync side I have an issue. I am able to install and it opens. It does find my calendar, but it doesn’t seem to sync my calendars. I created a test appointment in google calendar and a test appointment on my phone’s calendar (different days/times). However, when I open up GCalendarSync, I select the default profile and then it says “Imported 0 and exported 0 events”. So is there something else I am missing? I have it set to store my password.
Hi,
I have the same thing, everything seems to be OK except when syncing it stays at imported 0 and exported 0 events. What can be wrong and how to solve?
I’m in the same boat as Ron and I.N. Nothing ever syncs.
Those of you who are having trouble syncing, are you using Windows Mobile 5.0? Are you using Smartphone edition or the full edition?
It has only been tested on 5.0 Smartphone (which is what I have). I don’t know anybody who has the PDA version of Windows Mobile, but I will try to find someone in order to test it.
My guess is that the PDA version treats the calendar differently somehow, and I will try to debug this in the next day or two.
Are people using Smartphones having any trouble?
I’m using Windows Mobile 5.0
Windows Mobile 5.0 “full edition” (i.e. non-smartphone). I am willing to do some testing on this if you want me to try something for you. Just shoot me an email.
I have a IPAQ hw6915 with windows mobile…..
Tell me what to do and I will try it. I am using a GPRS connection, activesync or WIFI. All of them fail. As said, I do get the calendar list though.
everyone –
this blog has been moved here:
http://iterat.ive.ly/index.php/2006/12/13/gcalendarsync-v02-release-source/
I just started using a program called GMobileSync (http://rareedge.com/gmobilesync/). It does the same thing and seems to work quite well (I have a BlackJack). It is not open source unfortunately but is free.
I just got a Motorola Q with Windows Mobile 5.0. I would like to use your product but have never downloaded a program to a PDA.
How do I do it? Do I download it to my laptop first?
i find that i have to manually force a sync after i have made changes to either mobile or gcal from a pc.
i am using a samsung blackjack and have tried varying the sync time from 10 to 60 minutes. is there a way to ensure that it runs and starts up in memory following a reboot?
I am using Google calendar, but now with with a @gmail.com account. I am using me private email address as the account.
When I put my user/pass in, I get a credential error. Why is that?
Thanks in advance,
Guy
This program is great! There is just one bug I noticed with it…
It does not import recurring events to the PDA. Even if it can’t do them as recurring, it should still add each as a separate event.
Great Job,
NET 2.0 is really too big for my handset.
What about a CF1 version ? Is there any issue for backport ?
Would you need help for this backport ?
Cheers
All right I screwed up. I had the wrong time set. I tried deleting and resyncing but the times are still screwed. Now what?
OOh, works nice on Windows Mobile 2006. Question is, should I kill off Outlook and Exchange now?
This is so cool! Only one problem – I am in +01:00 timezone (CET, Paris) and all my events are displayed with +1 hour time on iPaq (i.e. event starting at 08:00 in Google Calendar shows 09:00 in iPaq).
I’m having the same issue as Tigs, except my appointments go in -5 hours since I’m on EST. It started when I switched to a phone with WM6.
Having the same time zone problem as Erik above. I am running WM6 and when I installed GCalSyncsetup and opened the program for the first time, I didn’t even get an option to change my timezone (although it was already correct). Any thoughts on how to work around this or fix it?
Maybe if you choose CET in the application it shows up correctly!?
I haven’t tried it yet, but I’m thinking about using google sites soon. But I have to update my pda calendar for my business contacts.
I’ve got this installed and it connects fine. I picked my calendars and then when it goes to sync I get “FAILED: Parsing failed.”
Doesn’t matter which calendar I choose. Anyone seen this before?
Thanks for your efforts, they are very valuable to many of us. I have a small problem. On my IPAQ 110 GCalendarSync main screen “Extra Settings” is partially overlain by “__ minute” and cannot be used. Is there anything I can do? I tried landscape, but that did not change anything.
I also have the problem regarding Extra settings not being visible/usable.. I am using a samsung i730 with Windows mobile 5.
Also, regarding:
QUOTE: “Share it and Remix it, but let me know what you’re doing with it so we can enjoy it too”
..Have you considered working with the gmobilesync project? It is a simiilar project that was made open-source
http://www.codeplex.com/gmobilesync
http://rareedge.com/gmobilesync/
QUOTE:
“GMobileSync is officially open-source. You can get involved with the project at CodePlex. I will still be contributing and maintaining releases. (Heck, I still need the program too for my mobile!) If you’re one of the several developers who have contacted me in the last few months offering to help… now is your chance! GMobileSync is entirely written in C# (all managed code) and uses the .NET 2.0 Framework.
Anyone can join the project at CodePlex to add issues to the Issue Tracker, post items in the Discussion and even download the code. If you want to be an official developer on the project though, let me know so I can promote your CodePlex account to developer.”
They have a lot of the features on your to-do list working, but not some of the features you have already.. I would love to have
There is also now a google contacts api.. I would love to see it integrated into your great little app!
http://code.google.com/apis/contacts/
after initial install it downloaded all events. but when it updates it duplicates all events. the only way is for me to delete all events and then ubinstall the program to remove duplications. any help. to note I don’t have a constant internet connection will my smartphone.
thanks for a great post, i may put a link to it in my own blog.if thats ok with you?
cheeres
liran
Hey, thanks. This syncs well.
But I can’t use it because I can’t set the timezone when I run the app on my phone (Samsung SCH-i760, Windows Mobile 6.1). I can’t see the timezone setting box. To the right of the login textboxes, I see “Extra” and underneath it the top half of the word “Settings”, and I see a text box that says “60″ and next to it the label “minute” and underneath a checkbox labeled “Save Passwor [sic].”
How do I control the font size or the way the settings and login interface displays?
Thanks a lot!
I’m having the same time zone problem. My phone is set for US Central and all my google calendar times sync’d to my phone are 5 hours earlier than they should be. Was there a resolution to this?
Hey Im using a samsung sch-i760 with mobile 6. everytime i tell it to import events, it always says “imported 0 and exported 0″. Any ideas what is up?