Phoenixasuga / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Android sample creating and updating a private google spreadsheet #535

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which Google API and version (e.g. Google Calendar Data API version 2)?
Either gdata version 3, or google-api-java-client if spreadsheet support is 
completed for android

What format (e.g. JSON, Atom)?

XML( if gdata) or JSON (if google-api-java-client)

What Authentation (e.g. OAuth, OAuth 2, ClientLogin)?

using android's accountmanager to select existing google account, any suited 
authentication to the spreadsheet server. would prefer oauth2 since this is the 
advised mechanism

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Android 2.3 or 4.x, Eclipse Indigo, ADT 18

External references, such as API reference guide?
There are many samples that may work but are difficult to comprehend: 
http://code.google.com/p/google-spreadsheet-lib-android/ which seems stuck at 
gdata version 2; https://github.com/joeledstrom/SpreadsheetTest which is more 
than a year old.

Please provide any additional information below.

Original issue reported on code.google.com by ger.kers...@gmail.com on 20 Jun 2012 at 5:45

GoogleCodeExporter commented 9 years ago
What seems to be missing is the reference guide (see also this issue which does 
not seem to be fixed): 
http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3075

Original comment by ger.kers...@gmail.com on 20 Jun 2012 at 6:32

GoogleCodeExporter commented 9 years ago
Authentication: it seems that Android's built in AccountManager can also be 
used. So using this mechanism is probably better, but (see issue 74) it's use 
could be abstracted more.

Original comment by ger.kers...@gmail.com on 24 Jun 2012 at 10:04

GoogleCodeExporter commented 9 years ago
Applies to google-api-java-client version 1.10.x

Original comment by ger.kers...@gmail.com on 29 Jun 2012 at 6:44

GoogleCodeExporter commented 9 years ago
I am trying to use google-api-java-client with OAuth 2 and AccountManager in 
order to make an android spreadsheet app. No results yet and I'm with you that 
there would be an step by step guide for this. I´ll keep trying anyways.

Original comment by rauls...@gmail.com on 2 Jul 2012 at 4:35

GoogleCodeExporter commented 9 years ago
Just found this blog entry (did not check it):

http://mtotschn.blogspot.nl/2012/02/talking-to-google-spreadsheet-api-from.html

this might work but does not explain the big picture (there is little comment 
in the code or text file describing it)

Original comment by ger.kers...@gmail.com on 2 Jul 2012 at 6:56

GoogleCodeExporter commented 9 years ago
It seems that you can't use google-api-java-client with OAuth 2. The 
documentation says:  "Important: At this time, the Java client library does not 
support OAuth 2.0. We are working on adding support to the client library, and 
expect to have support out very soon." So I hope they provide support soon.

Original comment by rauls...@gmail.com on 8 Jul 2012 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 14 Jan 2013 at 3:31