This is going to sound a little presumptuous, but it looks like something Google is doing changed last night and broke their code library for their API.
New release: Binary only | Source will be updated soon
What happened?
In the gauthrequest.cs file, provided by Google, lines 408-9 look like this
// check the content type, it must be text
if (!response.ContentType.Equals(HttpFormPost.ContentType))
and this was working until last night. In this case HttpFormPost.ContentType = “text/plain”. Problem appears that now, the response.ContentType of the authrequest is being returned as “text/plain; charset=utf-8″. So that .Equals conditional no longer does the right thing, thus the authentication breaks.
To fix, I change line 409 to
...ContentType.StartsWith(HttpFormPost...
Now all is well again. Re-install and give it a go. I guess this is going to be standard for interfacing with a “beta” Google API. And we’ll just have to get used to it…
Please change also this one on your Code (around line 136):
FIND:
string.Format(“http://www.google.com/calendar/feeds/{0}%40gmail.com/”, txtUsername.Text);
REPLACE:
string.Format(“http://www.google.com/calendar/feeds/{0}/”, txtUsername.Text.Replace(“@”, “%40″));
//Uses email to login like on the GCal login page…
so it will work for yyy@mydomain.com as good as for xxx@gmail.com
or check if the username (new email) has an @ on it… if no add gmail.com…
Contact me if you d’like a conversation….
Found this app today, and it worked fine on my HP6945.
1 UI issue since the 6945 has a smaller screen: the “extra settings” box looks all wonky. “Extra” is on 1 line, “settings” is on the next, but “settings” is cut off in the middle (horizontally) due to the numerical text box appearing on line 3, but overlapping line 2.
Also “save password” comes out as “save passwor” on my screen.
I’ve been looking for something like this, I can’t wait to see the next version with more features!
Another feature to think about for when you move everything into an options menu: a “sync now” feature if I just want to do a quick sync with an event I just entered.
Well hmmm I spoke too soon. The initial sync was fine, then I added a bunch of all-day events in Google Calendar. After the next sync, your app synced them a day earlier than they should be, for example, in Google Calendar I had an all-day event on 1/11/2007, your app put it on 1/10/2007. Same goes with all 12 all-day events I put in.
everyone –
this blog has been moved here:
http://iterat.ive.ly/index.php/2006/12/15/gcalendarsync-v02-fix/
Does not work on Dell Axim X50