21 messages in com.googlegroups.bloggerdev[bloggerDev] Re: Problem with Non-Gma...
FromSent OnAttachments
Cory W01 May 2008 13:11 
Cory W01 May 2008 14:13 
Jeff Scudder02 May 2008 09:42 
Cory W05 May 2008 09:27 
Jeff Scudder08 May 2008 10:34 
Cory W12 May 2008 12:54 
Jeff Scudder13 May 2008 14:06 
Cory W14 May 2008 13:04 
Cory W15 May 2008 13:43 
Jeff Scudder15 May 2008 16:42 
IC07 Jul 2008 22:51 
serg...@gmail.com09 Jul 2008 15:15 
Trevor Johns11 Jul 2008 01:38 
Trevor Johns11 Jul 2008 01:55 
IC13 Jul 2008 00:48 
IC13 Jul 2008 00:50 
IC15 Jul 2008 00:01 
IC15 Jul 2008 02:30 
Trevor Johns15 Jul 2008 15:21 
IC16 Jul 2008 23:29 
jottos07 Sep 2008 21:39 
Subject:[bloggerDev] Re: Problem with Non-Gmail Google Accounts
From:IC (ic@infocrumbs.net)
Date:07/15/2008 12:01:50 AM
List:com.googlegroups.bloggerdev

On Jul 11, 6:39 pm, "Trevor Johns" <tjo@google.com> wrote:

On Mon, Jul 7, 2008 at 10:51 PM, IC <i.@infocrumbs.net> wrote:

Hey there

I have a problem that seems similar to this, with one of our customers using Google Apps accounts. But I cannot find the account_type variable or its equivalent in the GData Java Client library. Can anyone point me toward the right direction ?

It seems that the Java version of the library is missing some glue code in comparison to the Python or Javascript releases, especially for managing services.

Thanks in advance.

Cheers,

Taking a quick look through the Java client library, it seems it's currently hard coded to use HOSTED_OR_GOOGLE.

I've filed a ticket to have this fixed:

If you star the ticket, you'll be automatically notified when this is fixed.

In the meantime, if you feel comfortable editing the client library code (and can remember to undo these changes when the next version of the client library is released), it looks like you should just have to edit the following two lines to change the account type:

  src/com/google/gdata/client/GoogleAuthTokenFactory.java:337   svn/trunk/java/src/com/google/gdata/client/GoogleService.java:412

Obviously this is far from ideal, so if you're not comfortable with making these changes yourself, I definitely recommend waiting until the above ticket is fixed.

Also, I am a little confused about your issue 60 report: the Google Account with use for test in this case uses the same as its Google Apps account (yes, it is linked to a Google Account).

hum sorry that didn't make much sense, I meant: the Google Account *we* use for *testing purposes* in this case uses the same *password* as the Google Apps account (yes, it is linked to the Google Account).