davidlks83 / google-spreadsheet-lib-android

Automatically exported from code.google.com/p/google-spreadsheet-lib-android
0 stars 0 forks source link

proposal #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Paul, 
I've found the API quite interesting and I was even able  to realize the 
lightweight database back-end for android via google spreadsheets like it was 
proposed here

https://groups.google.com/forum/#!topic/google-api-java-client/O1CGZzEWRts

Also, I've noticed that a few features in the api would be highly useful, I 
mean anonymous access.

1) So, I'd include the anonymous token support introducing a new public class 
similar to "public class BasicAuthenticatorImpl". But instead of 
"http.doConnect(GOOGLE_CLIENT_LOGIN_URL,....", 
GoogleOAuthGetTemporaryToken() should be used,
more details here

http://translate.google.com/translate?hl=en&sl=ja&tl=en&u=http%3A%2F%2Fabekatsu.
blogspot.de%2F2011%2F03%2Fgoogle-spreadsheets-android-1.html

Now the api is limited to google users only.

2) I didn't find the way how someone can use "Collaborator.geteditLink()"  with 
SpreadSheetFactory class. I mean that 
SpreadSheetFactory doesn't have an interface to find  "anyone" shared spreads.

3) I'm not sure if google spreadsheets api supports "anonymous" sharing, but 
it's easy to insert support for "published to web" spreadsheets via 
"https://spreadsheets.google.com/feeds/list/key...," where key is some public 
id.

Here is an example,
http://blog.restphone.com/2011/05/very-simple-google-spreadsheet-code.html

That's all from side.  I've developed  a simple android application (spending  
three days for introduction of myself to android programing and google api) 
just for fun (to help a friend of mine with his student project). If my time 
allows, I'll add 1) and 3) into 
the current snip of "google-spreadsheet-lib-android", but it would be great if 
you, Paul, could do it yourself.

Cheers,
iggy.floyd.de@gmail.com

Original issue reported on code.google.com by iggy.flo...@gmail.com on 4 Oct 2013 at 8:12