{"id":16101498,"url":"https://github.com/mendhak/googledocs-upload-sample","last_synced_at":"2025-03-18T07:31:34.143Z","repository":{"id":2633627,"uuid":"3621758","full_name":"mendhak/googledocs-upload-sample","owner":"mendhak","description":"Android sample code to authorize with OAuth2, upload a doc and update it.","archived":false,"fork":false,"pushed_at":"2013-06-22T12:40:10.000Z","size":1927,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T08:17:11.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mendhak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-04T22:24:49.000Z","updated_at":"2023-10-27T08:09:22.000Z","dependencies_parsed_at":"2022-08-29T18:41:23.124Z","dependency_job_id":null,"html_url":"https://github.com/mendhak/googledocs-upload-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fgoogledocs-upload-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fgoogledocs-upload-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fgoogledocs-upload-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fgoogledocs-upload-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendhak","download_url":"https://codeload.github.com/mendhak/googledocs-upload-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910814,"owners_count":20367545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T18:50:06.156Z","updated_at":"2025-03-18T07:31:31.096Z","avatar_url":"https://github.com/mendhak.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n**Google API Java Client upload to Google Docs**\n\nThis is a sample Android application which uses the [google-api-java-client](http://code.google.com/p/google-api-java-client/) library to demonstrate uploading a file to Google Docs.\n\nThis app will\n\n*  Perform OAuth2 authorization against Google Docs\n*  Create a folder (known as a collection) in Google Docs\n*  Upload a file to Google Docs (inside that folder)\n*  Update a file on Google Docs\n\nI'm creating this sample app because there is very little in the way of examples on uploading to Google Docs and using the google-api-java-client library.\n\n\nThis app uses the [google-api-java-client](http://code.google.com/p/google-api-java-client/) library.\n\nIt uses [OAuth2](https://developers.google.com/accounts/docs/OAuth2InstalledApp) for authorization.\n\nIt follows [Google Documents List Data API v3.0](http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html).\n\n-----------\n\n**Pure Java Version**\n\nI have added a pure Java version that uses HttpURLConnection to upload to Google Docs.  Using the google-api-java-client library added around 600 kb to my APK, this should alleviate that problem.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fgoogledocs-upload-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendhak%2Fgoogledocs-upload-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fgoogledocs-upload-sample/lists"}