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. NullPointer Exception error at simple application

> I'm kinda new to Android, but got some Java experience, but still got

Move your setContentView(R.layout.search); statement to immediately after
your super.onCreate(icicle); statement. You don't have a content view at
the time you're trying to get your buttons.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!


--~--~---------~--~----~------------~-------~--~----~

2. how can connect gps in android emulater

hi friends
   i develop location base system so i get possition on mobile through
gps but problem is that how can we connect gps through emulater. does
any other device require to get gps possion.

Thank You
Suresh Kerai
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~

3. ListView in ScrollView

4. Question about LayoutAnimation2.java from the ApiDemos sample project

5. Wifi SDK Available ?

6. Should I use HashMap in Android project?

7. Question about LayoutAnimation2.java from the ApiDemos sample project