Dear all,

I am not sure if this problem is stupid or what.

I followed the most basic java example to login to my calender.

I was able to login/list events/etc if

myService.setUserCredentials("[EMAIL PROTECTED]", "********");

However I got a

com.google.gdata.client.GoogleService$InvalidCredentialsException:
Invalid credentials

if I just replaced the parameters with variables, say

myService.setUserCredentials(username, password);

I even print out username, password actual values to make sure they
are the same as before.

Can any one tell me the reason ?

Million Thanks

Dexter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to