Google Docs Access

by Doug Gordon » Thu, 19 May 2011 03:31:19 GMT

Sponsored Links
 My app is mainly self-contained, interacting only with the user's 
databases, and does not use any web or cloud technology to do its thing. 
However, I'd like to add functionality to download database files from 
the user's Google Docs account to make it easier to transfer data.

There are docs online for the required APIs, but it really seems 
complicated and assumes prior knowledge of various web technologies 
(XML, JSON, HTTP headers, etc.) that are outside my realm of knowledge. 
It looks like a very steep learning curve just to perform this basic 
operation: obtain authentication, get a list of available docs to 
display, download selected doc file to the SD card.

Is there anyplace where I can find a tutorial on what I need to know, or 
possibly sample code? My experience in the past is that the 
documentation can make it seem more complex than it actually is: 20 
pages of confusing text, and then you see a sample implementation and 
it's just a couple dozen lines of code!

Any help getting me started on this would be appreciated!

  Doug Gordon
  GHCS Software


Re: Google Docs Access

by Nikolay Elenkov » Thu, 19 May 2011 09:41:57 GMT


Why would you want to use Google Docs to download database file? Is it
even possible? Put your files on a web server, use some sort of authentication
if you don't want everyone to download them, and you are set.

All Google API access libraries have sample code, so you might want to read it.
But see above, this might be overkill for what you are trying to do.


Sponsored Links

Re: Google Docs Access

by Doug Gordon » Thu, 19 May 2011 22:04:34 GMT

 The databases are user-generated, so I need a "public" solution. I
can't use my web server to store megabytes of data for thousands of
users, manage usernames and passwords, etc.


Re: Re: Google Docs Access

by Mark Murphy » Thu, 19 May 2011 22:13:42 GMT


Support for Google Docs APIs can be found on the Google Docs Web sites, such as: 

Mark Murphy (a Commons Guy)  |  | 

Android 3.0 Programming Books: 


Re: Re: Google Docs Access

by Nikolay Elenkov » Thu, 19 May 2011 22:27:32 GMT


You are definitely not getting thousands of users support for free.
Still not clear why you think Google Docs is going to do it for you,
but good luck anyway.


Other Threads

1. Windows Driver for Nexus One so that Adb can detect the phone

Anybody know exactly what's the detailed step I can follow to get the
Windows Driver for Nexus One?

I'm using Eclipse Galileo and even I have the USB debugging enabled on
the phone and restart the adb, it simply can't detect the phone.

P.S. The whole point I'm buying Nexus One is for development.
Otherwise, I can live w/ the Eris which works fine.  If Nexus One is
so important for Google, they should have better support for the
Developer community by setting up a technical session on the Nexus One
support site.

Anyway, hope that somebody can help me quick here.  Thnx.

2. REPOST WTS: Milesrtone 2nd


Dijual cepat milestone fullset lengkap dengan harga Rp 6,5jt incld kirim se indo

*foto by request + bisa nego tipis.

*jual buat dp N1 ama N900

*japri ke / 081 5510 7989

3. HERO mau balik ke awal..

4. G1 rasa Espresso/Capucino

5. attaching a slidingdrawer to my activity

6. (Update) WTB: micro sdhc 8gb class 6

7. Fwd: [gadget-freak] Motorola Milestone reviewed by an amateur