15

I'm interested in adding functionality to my application to read from and write to a google docs spreadsheet.

I've seen other Android applications do this but I'm having trouble figuring out how I would implement this functionality in my own apps.

Any information you could give me to at least get me started would be greatly appreciated.

RobinHood
  • 10,897
  • 4
  • 48
  • 97
Rob S.
  • 3,599
  • 6
  • 30
  • 39

2 Answers2

7

After reading about the Google docs api.

Read this : Java android client api for android

then take a look at a sample that uploads a document to google docs.

Reno
  • 33,594
  • 11
  • 89
  • 102
  • @Renu i got authenticates now..how do i fetch data from google docs? – Harinder Aug 26 '11 at 05:38
  • +1 Hi @Reno , I want to do something like in Android have some string values like products name and now want to store it parmenantlly..I decided to store to Google Docs ...is this feasible? have you any ideas?..any sample examples? Tutorial? Thanks In Advance :) – MKJParekh Nov 28 '11 at 13:39
  • @Faste You mean you want to use Google docs as a [spreadsheet/database](http://blog.ouseful.info/2009/05/18/using-google-spreadsheets-as-a-databace-with-the-google-visualisation-api-query-language/). – Reno Jun 15 '12 at 08:29
  • Kind of, just simple data storage and retrival, have used GData Api for that, All done now.! Thanks – MKJParekh Jun 15 '12 at 08:37
  • I am using gdata api for google docs, after authentication I got list of files in google drive, but when I trying to download file (e.g. "docx", "pdf", "ppt") then api throws "com.google.gdata.util.ResourceNotFoundException: Not Found" exception. Please help me what I have to do to solve this problem? – Parveen Jul 30 '13 at 11:28
5

You can start with the Google Docs api. Looks like it lets you create,edit,view documents.

Robby Pond
  • 73,164
  • 16
  • 126
  • 119
  • i got authenticates now..how do i fetch data from google docs? – Harinder Aug 26 '11 at 05:38
  • Why does your link go to Google Drive API, instead of Google Docs API? I have found Google Sheets API, Google Slides API, but am not able to find Google Docs API. Where will that API be? – Normen Yu Jun 04 '17 at 00:18