Ofe*_*mon 4 android google-docs-api google-drive-api
我阅读了很多关于Google Drive API,Google表格API和其他内容的信息,但所有版本都在不断变化,我不明白我应该使用什么...
我有一个Android应用程序,我想用它来写文本到现有的Google云端硬盘电子表格.
示例:只需要一个edittext,我可以在其中放置文本并将其放在电子表格中的特定单元格中.
电子表格位于与某些人共享的文件夹中,我希望用户输入一个邮件地址,然后(确保该文件夹与他共享后)可以写入该文件夹中的电子表格.
还需要从电子表格中检索文本.
有没有人在android中有这样的经验?
谢谢!
Based on the comments we exchanged:
you looked at: Android - Google Spreadsheet Api which mentions 3 items:
Google Drive Api : https://developers.google.com/drive/
is for creating a spreadsheet. you might not need that if you are using an existing spreadsheet.
Google Spreadsheet Api: https://developers.google.com/google-apps/spreadsheets/
reads/writes to the spreadsheet
Google APi java client: http://code.google.com/p/google-api-java-client/
Wraps the api in a library for easy usage. Otherwise use the raw https calls directly.
For authentication you will need oauth2. Look at the samples for doing a google+ button login in android.
https://developers.google.com/+/mobile/android/sign-in
一旦您使用了正确的范围(电子表格和驱动器),该库将为您提供需要调用的"访问令牌"电子表格客户端库.
归档时间: |
|
查看次数: |
8363 次 |
最近记录: |