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:

 http://code.google.com/apis/documents/forum.html 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android 3.0 Programming Books:  http://commonsware.com/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. AnimationDrawable and Out of Memory Errors

If there's an OutOfMemoryError, it's most likely that the app is using
too much memory and/or leaking. Filing a bug won't help.





> 

2. Can I use TraceView in native code when using NDK?

Hi All
    We know that it's very convenient to use TraceView in Android java
code to check the runtime of different chunks of code. Now I develop
my app with NDK and I want to check the runtime of some native
functions, but I found nothing in TraceView guide if it's possible to
use this tool. Because I noticed that one of my native methods spent
too much time and I want to dig out the more detailed root cause. Is
there anybody know if we can use TraceView in native code? Or some
other way to help me solve this problem? Thanks in advance!

-- 

3. Help with @Override problems

4. How to develop for forward compatibility.

5. onDraw and Surface Flinger

6. without Absolutelayout, how to put button on arbitary coordinates

7. Decode MP3 audio data to PCM audio format in android