Update Google Java Client API to version 1.12.0-beta.

This commit is contained in:
Jimmy Shih
2012-12-10 18:38:05 -08:00
parent c840027ab9
commit dffae9e782
88 changed files with 1408 additions and 38 deletions
+1
View File
@@ -4,5 +4,6 @@
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.google.gdt.eclipse.managedapis.MANAGED_API_CONTAINER/drive-v2r30lv1.12.0-beta"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
@@ -0,0 +1,23 @@
<classpathentry kind="lib" path="libs/google-api-services-{{ api.name }}-{{ api.version }}-rev{{ api.revision }}-{{ features.releaseVersion }}.jar" sourcepath="libs-sources/google-api-services-{{ api.name }}-{{ api.version }}-rev{{ api.revision }}-{{ features.releaseVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-{{ features.baseClientLibrary }}.jar" sourcepath="libs-sources/google-api-client-{{ features.baseClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-android2-{{ features.baseClientLibrary }}.jar" sourcepath="libs-sources/google-api-client-android2-{{ features.baseClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-appengine-{{ features.baseClientLibrary }}.jar" sourcepath="libs-sources/google-api-client-appengine-{{ features.baseClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-servlet-{{ features.baseClientLibrary }}.jar" sourcepath="libs-sources/google-api-client-servlet-{{ features.baseClientLibrary }}-sources.jar"/>
<classpathentry kind="lib"path="libs/google-oauth-client-{{ features.oauthClientLibrary }}.jar" sourcepath="libs-sources/google-oauth-client-{{ features.oauthClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-oauth-client-appengine-{{ features.oauthClientLibrary }}.jar" sourcepath="libs-sources/google-oauth-client-appengine-{{ features.oauthClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-oauth-client-servlet-{{ features.oauthClientLibrary }}.jar" sourcepath="libs-sources/google-oauth-client-servlet-{{ features.oauthClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-http-client-{{ features.httpClientLibrary }}.jar" sourcepath="libs-sources/google-http-client-{{ features.httpClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-http-client-android2-{{ features.httpClientLibrary }}.jar" sourcepath="libs-sources/google-http-client-android2-{{ features.httpClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-http-client-android3-{{ features.httpClientLibrary }}.jar" sourcepath="libs-sources/google-http-client-android3-{{ features.httpClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-http-client-appengine-{{ features.httpClientLibrary }}.jar" sourcepath="libs-sources/google-http-client-appengine-{{ features.httpClientLibrary }}-sources.jar"/>
<classpathentry kind="lib" path="libs/commons-logging-{{ features.commonsLoggingVersion }}.jar" sourcepath="libs-sources/commons-logging-{{ features.commonsLoggingVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/gson-{{ features.gsonVersion }}.jar" sourcepath="libs-sources/gson-{{ features.gsonVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/guava-{{ features.guavaVersion }}.jar" sourcepath="libs-sources/guava-{{ features.guavaVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/httpclient-{{ features.httpClientVersion }}.jar" sourcepath="libs-sources/httpclient-{{ features.httpClientVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/httpcore-{{ features.httpCoreVersion }}.jar" sourcepath="libs-sources/httpcore-{{ features.httpCoreVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/jackson-core-asl-{{ features.jacksonCoreAslVersion }}.jar" sourcepath="libs-sources/jackson-core-asl-{{ features.jacksonCoreAslVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/jdo2-api-{{ features.jdo2ApiVersion }}.jar" sourcepath="libs-sources/jdo2-api-{{ features.jdo2ApiVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/jsr305-{{ features.jsr305Version }}.jar"/>
<classpathentry kind="lib" path="libs/protobuf-java-{{ features.protobufVersion }}.jar" sourcepath="libs-sources/protobuf-java-{{ features.protobufVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/transaction-api-{{ features.transactionApiVersion }}.jar" sourcepath="libs-sources/transaction-api-{{ features.transactionApiVersion }}-sources.jar"/>
<classpathentry kind="lib" path="libs/xpp3-{{ features.xpp3Version }}.jar" sourcepath="libs-sources/xpp3-{{ features.xpp3Version }}-sources.jar"/>
@@ -0,0 +1,27 @@
BSD License
Copyright (c) 2000-2006, www.hamcrest.org
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer. Redistributions in binary form must reproduce
the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
Neither the name of Hamcrest nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
@@ -0,0 +1,151 @@
body {
margin: 0px;
padding: 0px;
}
img {
border:none;
}
table {
padding:0px;
width: 100%;
margin-left: -2px;
margin-right: -2px;
}
acronym {
cursor: help;
border-bottom: 1px dotted #feb;
}
table.bodyTable th, table.bodyTable td {
padding: 2px 4px 2px 4px;
vertical-align: top;
}
div.clear{
clear:both;
visibility: hidden;
}
div.clear hr{
display: none;
}
#bannerLeft, #bannerRight {
font-size: xx-large;
font-weight: bold;
}
#bannerLeft img, #bannerRight img {
margin: 0px;
}
.xleft, #bannerLeft img {
float:left;
}
.xright, #bannerRight {
float:right;
}
#banner {
padding: 0px;
}
#banner img {
border: none;
}
#breadcrumbs {
padding: 3px 10px 3px 10px;
}
#leftColumn {
width: 170px;
float:left;
overflow: auto;
}
#bodyColumn {
margin-right: 1.5em;
margin-left: 197px;
}
#legend {
padding: 8px 0 8px 0;
}
#navcolumn {
padding: 8px 4px 0 8px;
}
#navcolumn h5 {
margin: 0;
padding: 0;
font-size: small;
}
#navcolumn ul {
margin: 0;
padding: 0;
font-size: small;
}
#navcolumn li {
list-style-type: none;
background-image: none;
background-repeat: no-repeat;
background-position: 0 0.4em;
padding-left: 16px;
list-style-position: outside;
line-height: 1.2em;
font-size: smaller;
}
#navcolumn li.expanded {
background-image: url(../images/expanded.gif);
}
#navcolumn li.collapsed {
background-image: url(../images/collapsed.gif);
}
#poweredBy {
text-align: center;
}
#navcolumn img {
margin-top: 10px;
margin-bottom: 3px;
}
#poweredBy img {
display:block;
margin: 20px 0 20px 17px;
}
#search img {
margin: 0px;
display: block;
}
#search #q, #search #btnG {
border: 1px solid #999;
margin-bottom:10px;
}
#search form {
margin: 0px;
}
#lastPublished {
font-size: x-small;
}
.navSection {
margin-bottom: 2px;
padding: 8px;
}
.navSectionHead {
font-weight: bold;
font-size: x-small;
}
.section {
padding: 4px;
}
#footer {
padding: 3px 10px 3px 10px;
font-size: x-small;
}
#breadcrumbs {
font-size: x-small;
margin: 0pt;
}
.source {
padding: 12px;
margin: 1em 7px 1em 7px;
}
.source pre {
margin: 0px;
padding: 0px;
}
#navcolumn img.imageLink, .imageLink {
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
padding-right: 2px;
border: 0px;
margin: 0px;
}
@@ -0,0 +1,141 @@
body {
padding: 0px 0px 10px 0px;
}
body, td, select, input, li{
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 13px;
}
code{
font-family: Courier, monospace;
font-size: 13px;
}
a {
text-decoration: none;
}
a:link {
color:#36a;
}
a:visited {
color:#47a;
}
a:active, a:hover {
color:#69c;
}
#legend li.externalLink {
background: url(../images/external.png) left top no-repeat;
padding-left: 18px;
}
a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
background: url(../images/external.png) right center no-repeat;
padding-right: 18px;
}
#legend li.newWindow {
background: url(../images/newwindow.png) left top no-repeat;
padding-left: 18px;
}
a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
background: url(../images/newwindow.png) right center no-repeat;
padding-right: 18px;
}
h2 {
padding: 4px 4px 4px 6px;
border: 1px solid #999;
color: #900;
background-color: #ddd;
font-weight:900;
font-size: x-large;
}
h3 {
padding: 4px 4px 4px 6px;
border: 1px solid #aaa;
color: #900;
background-color: #eee;
font-weight: normal;
font-size: large;
}
h4 {
padding: 4px 4px 4px 6px;
border: 1px solid #bbb;
color: #900;
background-color: #fff;
font-weight: normal;
font-size: large;
}
h5 {
padding: 4px 4px 4px 6px;
color: #900;
font-size: normal;
}
p {
line-height: 1.3em;
font-size: small;
}
#breadcrumbs {
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
background-color: #ccc;
}
#leftColumn {
margin: 10px 0 0 5px;
border: 1px solid #999;
background-color: #eee;
}
#navcolumn h5 {
font-size: smaller;
border-bottom: 1px solid #aaaaaa;
padding-top: 2px;
color: #000;
}
table.bodyTable th {
color: white;
background-color: #bbb;
text-align: left;
font-weight: bold;
}
table.bodyTable th, table.bodyTable td {
font-size: 1em;
}
table.bodyTable tr.a {
background-color: #ddd;
}
table.bodyTable tr.b {
background-color: #eee;
}
.source {
border: 1px solid #999;
}
dl {
padding: 4px 4px 4px 6px;
border: 1px solid #aaa;
background-color: #ffc;
}
dt {
color: #900;
}
#organizationLogo img, #projectLogo img, #projectLogo span{
margin: 8px;
}
#banner {
border-bottom: 1px solid #fff;
}
.errormark, .warningmark, .donemark, .infomark {
background: url(../images/icon_error_sml.gif) no-repeat;
}
.warningmark {
background-image: url(../images/icon_warning_sml.gif);
}
.donemark {
background-image: url(../images/icon_success_sml.gif);
}
.infomark {
background-image: url(../images/icon_info_sml.gif);
}
@@ -0,0 +1,7 @@
#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
display: none !important;
}
#bodyColumn, body.docs div.docs {
margin: 0 !important;
border: none !important
}
@@ -0,0 +1 @@
/* You can override this file with your own styles */
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

@@ -0,0 +1,703 @@
{
"discoveryLink": "./apis/drive/v2/rest",
"kind": "discovery#directoryItem",
"description": "The API to interact with Drive.",
"title": "Drive API",
"discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v2/rest",
"preferred": true,
"version": "v2",
"icons": {
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png",
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png"
},
"documentationLink": "https://developers.google.com/drive/",
"id": "drive:v2",
"name": "drive",
"files": [
{
"downloadUrl": "/downloads/drive/v2/30/java/1.12.0-beta/google-api-services-drive-v2-rev30-1.12.0-beta.jar",
"path": "google-api-services-drive-v2-rev30-1.12.0-beta.jar",
"type": "binary",
"timestamp": "2012-12-08 00:32"
},
{
"downloadUrl": "/downloads/drive/v2/30/java/1.12.0-beta/google-api-services-drive-v2-rev30-1.12.0-beta-javadoc.jar",
"path": "google-api-services-drive-v2-rev30-1.12.0-beta-javadoc.jar",
"type": "documentation",
"timestamp": "2012-12-08 00:33"
},
{
"downloadUrl": "/downloads/drive/v2/30/java/1.12.0-beta/google-api-services-drive-v2-rev30-1.12.0-beta-sources.jar",
"path": "google-api-services-drive-v2-rev30-1.12.0-beta-sources.jar",
"type": "source",
"timestamp": "2012-12-08 00:32"
},
{
"path": "google-api-services-drive-v2-rev30-1.12.0-beta.jar.properties",
"type": "android.properties"
}
],
"revision": 30,
"language": "java",
"language_version": "1.12.0-beta",
"dependencies": [
{
"files": [
{
"downloadUrl": "http://google-api-java-client.googlecode.com/files/google-api-java-client-1.12.0-beta.zip",
"type": "bundle"
}
],
"version": "1.12.0-beta",
"name": "Google API Java Client Bundle",
"environments": [
"manual"
]
},
{
"files": [
{
"path": "libs/google-api-client-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-api-client-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-api-client-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Google APIs Client Library",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/google-api-client-android-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-api-client-android-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-api-client-android-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Android platform extensions to the Google APIs Client Library",
"environments": [
"android"
]
},
{
"files": [
{
"path": "libs/google-api-client-appengine-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-api-client-appengine-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Google App Engine extensions to the Google APIs Client Library",
"environments": [
"appengine"
]
},
{
"files": [
{
"path": "libs/google-api-client-java6-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-api-client-java6-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Java 6 (and higher) extensions to the Google APIs Client Library",
"environments": [
"generic"
]
},
{
"files": [
{
"path": "libs/google-oauth-client-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-oauth-client-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-oauth-client-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Google OAuth Client Library",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/google-oauth-client-appengine-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-oauth-client-appengine-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Google App Engine extensions to the Google OAuth Client Library",
"environments": [
"appengine"
]
},
{
"files": [
{
"path": "libs/google-oauth-client-java6-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-oauth-client-java6-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Java 6 (and higher) extensions to the Google OAuth Client Library",
"environments": [
"generic"
]
},
{
"files": [
{
"path": "libs/google-oauth-client-jetty-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-oauth-client-jetty-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Jetty extensions to the Google OAuth Client Library",
"environments": [
"generic"
]
},
{
"files": [
{
"path": "libs/google-oauth-client-servlet-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-oauth-client-servlet-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Servlet and JDO extensions to the Google OAuth Client Library",
"environments": [
"appengine",
"servlet"
]
},
{
"files": [
{
"path": "libs/google-http-client-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-http-client-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-http-client-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Google HTTP Client Library",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/google-http-client-android-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-http-client-android-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-http-client-android-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Android platform extensions to the Google HTTP Client Library",
"environments": [
"android"
]
},
{
"files": [
{
"path": "libs/google-http-client-appengine-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-http-client-appengine-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.12.0-beta",
"name": "Google App Engine extensions to the Google HTTP Client Library",
"environments": [
"appengine"
]
},
{
"files": [
{
"path": "libs/google-http-client-gson-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-http-client-gson-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-http-client-gson-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "GSON extensions to the Google HTTP Client Library",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/google-http-client-jackson-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-http-client-jackson-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-http-client-jackson-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Jackson extensions to the Google HTTP Client Library",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/google-http-client-jackson2-1.12.0-beta.jar",
"type": "binary"
},
{
"path": "libs-sources/google-http-client-jackson2-1.12.0-beta-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/google-http-client-jackson2-1.12.0-beta.jar.properties",
"type": "android-properties"
}
],
"version": "1.12.0-beta",
"name": "Jackson 2 extensions to the Google HTTP Client Library",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/commons-logging-1.1.1.jar",
"type": "binary"
},
{
"path": "libs-sources/commons-logging-1.1.1-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.1.1",
"name": "Commons Logging",
"environments": [
"servlet",
"generic"
]
},
{
"files": [
{
"path": "libs/guava-jdk5-13.0.jar",
"type": "binary"
},
{
"path": "libs-sources/guava-jdk5-13.0-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/guava-jdk5-13.0.jar.properties",
"type": "android-properties"
}
],
"version": "jdk5-13.0",
"name": "Google Guava",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/gson-2.1.jar",
"type": "binary"
},
{
"path": "libs-sources/gson-2.1-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/gson-2.1.jar.properties",
"type": "android-properties"
}
],
"version": "2.1",
"name": "GSON",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/httpclient-4.0.3.jar",
"type": "binary"
},
{
"path": "libs-sources/httpclient-4.0.3-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "4.0.3",
"name": "HTTP Client",
"environments": [
"servlet",
"generic"
]
},
{
"files": [
{
"path": "libs/httpcore-4.0.1.jar",
"type": "binary"
},
{
"path": "libs-sources/httpcore-4.0.1-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "4.0.1",
"name": "HTTP Core",
"environments": [
"servlet",
"generic"
]
},
{
"files": [
{
"path": "libs/jackson-core-asl-1.9.9.jar",
"type": "binary"
},
{
"path": "libs-sources/jackson-core-asl-1.9.9-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/jackson-core-asl-1.9.9.jar.properties",
"type": "android-properties"
}
],
"version": "1.9.9",
"name": "Jackson Core ASL",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/jackson-core-2.0.5.jar",
"type": "binary"
},
{
"path": "libs-sources/jackson-core-2.0.5-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
},
{
"path": "libs/jackson-core-2.0.5.jar.properties",
"type": "android-properties"
}
],
"version": "2.0.5",
"name": "Jackson2 Core",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/jdo2-api-2.3-eb.jar",
"type": "binary"
},
{
"path": "libs-sources/jdo2-api-2.3-eb-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "2.3-eb",
"name": "JDO2 API",
"environments": [
"appengine",
"servlet"
]
},
{
"files": [
{
"path": "libs/jetty-6.1.26.jar",
"type": "binary"
},
{
"path": "libs-sources/jetty-6.1.26-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "6.1.26",
"name": "Jetty",
"environments": [
"generic"
]
},
{
"files": [
{
"path": "libs/jetty-util-6.1.26.jar",
"type": "binary"
},
{
"path": "libs-sources/jetty-util-6.1.26-sources.jar",
"type": "source"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "6.1.26",
"name": "Jetty Util",
"environments": [
"generic"
]
},
{
"files": [
{
"path": "libs/jsr305-1.3.9.jar",
"type": "binary"
},
{
"path": "dependencies/APACHE-LICENSE.txt",
"type": "license"
}
],
"version": "1.3.9",
"name": "JSR 305",
"environments": [
"*"
]
},
{
"files": [
{
"path": "libs/transaction-api-1.1.jar",
"type": "binary"
},
{
"path": "libs-sources/transaction-api-1.1-sources.jar",
"type": "source"
},
{
"path": "dependencies/CDDL-LICENSE.txt",
"type": "license"
}
],
"version": "1.1",
"name": "Transaction API",
"environments": [
"appengine",
"servlet"
]
},
{
"files": [
{
"path": "libs/xpp3-1.1.4c.jar",
"type": "binary"
},
{
"path": "libs-sources/xpp3-1.1.4c-sources.jar",
"type": "source"
},
{
"path": "dependencies/xpp3_LICENSE.txt",
"type": "license"
}
],
"version": "1.1.4c",
"name": "XPP3",
"environments": [
"appengine",
"servlet",
"generic"
]
}
],
"proguard-config": "proguard-google-api-client.txt",
"icon_files": {
"x32": "icons/drive_icon_32.png",
"x16": "icons/drive_icon_16.png"
}
}
@@ -0,0 +1 @@
src=../libs-sources/google-api-services-drive-v2-rev30-1.12.0-beta-sources.jar
Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1 @@
src=../libs-sources/google-api-client-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-api-client-android-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-http-client-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-http-client-android-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-http-client-gson-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-http-client-jackson-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-http-client-jackson2-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/google-oauth-client-1.12.0-beta-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/gson-2.1-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/guava-jdk5-13.0-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/jackson-core-2.0.5-sources.jar
@@ -0,0 +1 @@
src=../libs-sources/jackson-core-asl-1.9.9-sources.jar
@@ -0,0 +1,25 @@
# ProGuard Configuration file
#
# See http://proguard.sourceforge.net/index.html#manual/usage.html
# Needed to keep generic types and @Key annotations accessed via reflection
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
-keepclassmembers class * {
@com.google.api.client.util.Key <fields>;
}
# Needed by Guava
# See https://groups.google.com/forum/#!topic/guava-discuss/YCZzeCiIVoI
-dontwarn sun.misc.Unsafe
-dontwarn com.google.common.collect.MinMaxPriorityQueue
# Needed by google-http-client-android when linking against an older platform version
-dontwarn com.google.api.client.extensions.android.**
# Needed by google-api-client-android when linking against an older platform version
-dontwarn com.google.api.client.googleapis.extensions.android.**
@@ -0,0 +1,158 @@
<html>
<title>Drive API v2 Client Library for Java</title>
<body>
<h2>Drive API v2 Client Library for Java</h2>
<h3>Overview</h3>
<p>High-level details about this library can be found at
<a href="http://code.google.com/p/google-api-java-client">http://code.google.com/p/google-api-java-client</a>
<ul>
<li><a href='http://code.google.com/p/google-api-java-client/wiki/ReleaseNotes#Version_1.12.0-beta'>Release Notes</a></li>
<li><a href='http://javadoc.google-api-java-client.googlecode.com/hg/apis/drive/v2/index.html'>JavaDoc</a></li>
<li><a href='http://code.google.com/p/google-api-java-client/wiki/DeveloperGuide'>Developer's Guide</a></li>
<li><a href='http://groups.google.com/group/google-api-java-client'>Support</a></li>
</ul>
<h3>License</h3>
The license can be found <a href='LICENSE.txt'>here</a>.<br/>
<h3>Generated service-specific Library</h3>
The generated service-specific library can be found in the top level directory
of the zip file:
google-api-services-drive-v2-rev30-1.12.0-beta.jar
<h3>Maven Usage</h3>
Maven users can specify the service-specific generated library in their
project's plugin configuration:
<pre>
&lt;repositories&gt;
&lt;repository&gt;
&lt;id&gt;googleapis&lt;/id&gt;
&lt;url&gt;http://mavenrepo.google-api-java-client.googlecode.com/hg/&lt;/url&gt;
&lt;/repository&gt;
&lt;/repositories&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.google.apis&lt;/groupId&gt;
&lt;artifactId&gt;google-api-services-drive&lt;/artifactId&gt;
&lt;version&gt;v2-rev30-1.12.0-beta&lt;/version&gt;
&lt;/dependency&gt;
</pre>
<h3>Eclipse</h3>
A .classpath file snippet that can be included in your project's .classpath has been provided <a href='classpath-include'>here</a>.
Please only use the classpathentry's you actually need (see below for details).
<h3>ProGuard</h3>
A ProGuard configuration file <a href="proguard-google-api-client.txt">proguard-google-api-client.txt</a>
is included for common settings for using the library. On Android projects, you may want to add a reference to
<code>proguard-google-api-client.txt</code> in the <code>project.properties</code> file under the
<code>proguard.config</code> property.
<h3>Dependencies</h3>
<p>
Dependent jars for
google-api-services-drive-v2-rev30-1.12.0-beta.jar
can be found in the <a href='libs'>libs</a> folder and the corresponding source
jars can be found in the <a href='libs-sources'>libs-sources</a> folder.
<br/><br/>
The dependency structure and licenses can be found in
<a href='dependencies/dependencies.html'>dependencies.html</a>.
</p>
<h3>Dependencies for all Platforms</h3>
The following are the jars from the <a href='libs'>libs</a> folder required for
applications on all platforms:
<ul>
<li>google-api-client-1.12.0-beta.jar</li>
<li>google-oauth-client-1.12.0-beta.jar</li>
<li>google-http-client-1.12.0-beta.jar</li>
<li>guava-jdk5-13.0.jar</li>
<li>jsr305-1.3.9.jar</li>
<li>google-http-client-gson-1.12.0-beta.jar (when using GSON)
<ul>
<li>gson-2.1.jar</li>
</ul>
</li>
<li>google-http-client-jackson-1.12.0-beta.jar (when using Jackson)
<ul>
<li>jackson-core-asl-1.9.9.jar</li>
</ul>
</li>
<li>google-http-client-jackson2-1.12.0-beta.jar (when using Jackson 2)
<ul>
<li>jackson-core-$2.0.5.jar</li>
</ul>
</li>
</ul>
<h3>Android Dependencies</h3>
The following are the jars from the <a href='libs'>libs</a> folder required for
android applications or a newer compatible version of each dependency:
<ul>
<li>google-api-client-android-1.12.0-beta.jar (for SDK >= 2.1)</li>
<li>google-http-client-android-1.12.0-beta.jar (for SDK >= 2.1)</li>
<li>[deprecated] google-api-client-android2-1.12.0-beta.jar (for SDK >= 2.1)</li>
<li>[deprecated] google-http-client-android2-1.12.0-beta.jar (for SDK >= 2.1)</li>
<li>[deprecated] google-http-client-android3-1.12.0-beta.jar (for SDK >= 3.0)</li>
</ul>
<The <a href='libs'>libs</a> folder also contains properties files that specify the location of source
jars for Android projects in Eclipse.<br/>
Please see the
<a href='http://code.google.com/p/google-api-java-client/wiki/Android'>Android wiki</a>
for the Android Developer's Guide.
<h3>Google App Engine Dependencies</h3>
The following are the jars from the <a href='libs'>libs</a> folder required for
Google App Engine applications or a newer compatible version of each dependency:
<ul>
<li>google-api-client-appengine-1.12.0-beta.jar</li>
<li>google-oauth-client-appengine-1.12.0-beta.jar</li>
<li>google-oauth-client-servlet-1.12.0-beta.jar</li>
<li>google-http-client-appengine-1.12.0-beta.jar</li>
<li>jdo2-api-2.3-eb.jar</li>
<li>transaction-api-1.1.jar</li>
<li>xpp3-1.1.4c.jar</li>
</ul>
Please see the
<a href='http://code.google.com/p/google-api-java-client/wiki/GoogleAppEngine'>GoogleAppEngine wiki</a>
for the Google App Engine Developer's Guide.
<h3>Servlet Dependencies</h3>
The following are the jars from the <a href='libs'>libs</a> folder required for
Servlet applications or a newer compatible version of each dependency:
<ul>
<li>google-oauth-client-1.12.0-beta.jar</li>
<li>google-oauth-client-servlet-1.12.0-beta.jar</li>
<li>commons-logging-1.1.1.jar</li>
<li>httpclient-4.0.3.jar</li>
<li>httpcore-4.0.1.jar</li>
<li>jdo2-api-2.3-eb.jar</li>
<li>transaction-api-1.1.jar</li>
<li>xpp3-1.1.4c.jar</li>
</ul>
<h3>General Purpose Java 5 Environment Dependencies</h3>
The following are the jars from the <a href='libs'>libs</a> folder required for
general purpose Java 5 applications (or a newer compatible version of each dependency):
<ul>
<li>google-api-client-java6-1.12.0-beta.jar</li>
<li>google-oauth-client-java6-1.12.0-beta.jar</li>
<ul>
<li>google-oauth-client-jetty-${project.oauth.version}.jar (for Jetty 6)
<ul>
<li>jetty-${jettyVersion}</li>
<li>jetty-util-${jettyUtilVersion}</li>
</ul>
</li>
</ul>
<li>commons-logging-1.1.1.jar</li>
<li>httpclient-4.0.3.jar</li>
<li>httpcore-4.0.1.jar</li>
<li>xpp3-1.1.4c.jar</li>
</ul>
</body>
</html>
@@ -0,0 +1,2 @@
COPY_CLASSPATH_ENTRIES_TARGET_PATH=libs
eclipse.preferences.version=1
+14 -16
View File
@@ -10,26 +10,24 @@ Ant+:
antlib.jar - see http://www.thisisant.com/pages/developer-zone/android-api
Google APIs Client Library for Java:
commons-codec-1.3.jar
commons-logging-1.1.1.jar
google-api-client-1.5.0-beta.jar
google-http-client-1.5.0-beta.jar
google-oauth-client-1.5.0-beta.jar
gson-1.6.jar
guava-r09.jar
jackson-core-asl-1.6.7.jar
google-api-client-1.12.0-beta.jar
google-api-client-android-1.12.0-beta.jar
google-api-services-drive-v2-rev30-1.12.0-beta.jar
google-http-client-1.12.0-beta.jar
google-http-client-android-1.12.0-beta.jar
google-http-client-gson-1.12.0-beta.jar
google-http-client-jackson-1.12.0-beta.jar
google-http-client-jackson2-1.12.0-beta.jar
google-oauth-client-1.12.0-beta.jar
gson-2.1.jar
guava-jdk5-13.0.jar
jackson-core-2.0.5.jar
jackson-core-asl-1.9.9.jar
jsr305-1.3.9.jar
- see http://code.google.com/p/google-api-java-client/
- google-api-client-1.5.0-beta.jar depends on protobuf-java-2.2.0.jar, however,
MyTracksLib already includes protobuf-java.2.3.0-lite.jar. Thus using the
newer version, protobuf-java.2.3.0-lite.jar.
- google-api-client-1.5.0-beta.jar also depends on xpp3-1.1.4c.jar, however,
some of its classes are already included in the android framework, thus not
including xpp3-1.1.4c.jar.
Google Analytics:
libGoogleAnalytics.jar
- see http://code.google.com/apis/analytics/docs/mobile/android.html
Others:
Google Common:
google-common.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+25
View File
@@ -0,0 +1,25 @@
# ProGuard Configuration file
#
# See http://proguard.sourceforge.net/index.html#manual/usage.html
# Needed to keep generic types and @Key annotations accessed via reflection
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
-keepclassmembers class * {
@com.google.api.client.util.Key <fields>;
}
# Needed by Guava
# See https://groups.google.com/forum/#!topic/guava-discuss/YCZzeCiIVoI
-dontwarn sun.misc.Unsafe
-dontwarn com.google.common.collect.MinMaxPriorityQueue
# Needed by google-http-client-android when linking against an older platform version
-dontwarn com.google.api.client.extensions.android.**
# Needed by google-api-client-android when linking against an older platform version
-dontwarn com.google.api.client.googleapis.extensions.android.**
+1 -13
View File
@@ -71,21 +71,9 @@
#
# Section 2
# Google APIs Client Library for Java proguard settings.
# Google Play Services and Google Maps API Library
#
# Needed by google-api-client to keep generic types and @Key annotations accessed via reflection
-keepclassmembers class * {
@com.google.api.client.util.Key <fields>;
}
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault
# Needed by Guava
-dontwarn sun.misc.Unsafe
# See https://groups.google.com/forum/#!topic/guava-discuss/YCZzeCiIVoI
-dontwarn com.google.common.collect.MinMaxPriorityQueue
# For Google Play Services
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
+1 -1
View File
@@ -9,7 +9,7 @@
# Indicates whether an apk should be generated for each density.
split.density=false
proguard.config=proguard.cfg
proguard.config=proguard.cfg:proguard-google-api-client.txt
# Project target.
target=android-17
android.library.reference.1=../MyTracksLib
@@ -24,7 +24,6 @@ import com.google.api.client.http.HttpRequestFactory;
import com.google.api.client.http.HttpResponse;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.http.InputStreamContent;
import com.google.api.client.util.Strings;
import com.google.common.annotations.VisibleForTesting;
import android.accounts.Account;
@@ -405,7 +404,7 @@ public class SendFusionTablesAsyncTask extends AbstractSendAsyncTask {
Log.d(TAG, "Unable to encode query", e1);
return false;
}
ByteArrayInputStream inputStream = new ByteArrayInputStream(Strings.toBytesUtf8(sql));
ByteArrayInputStream inputStream = new ByteArrayInputStream(sql.getBytes());
InputStreamContent inputStreamContent = new InputStreamContent(null, inputStream);
HttpRequest request;
try {
@@ -417,7 +416,7 @@ public class SendFusionTablesAsyncTask extends AbstractSendAsyncTask {
GoogleHeaders headers = new GoogleHeaders();
headers.setApplicationName(APP_NAME_PREFIX + SystemUtils.getMyTracksVersion(context));
headers.gdataVersion = GDATA_VERSION;
headers.setGDataVersion(GDATA_VERSION);
headers.setGoogleLogin(authToken);
headers.setContentType(CONTENT_TYPE);
request.setHeaders(headers);
@@ -17,7 +17,6 @@ package com.google.android.apps.mytracks.io.fusiontables;
import com.google.android.apps.mytracks.content.Track;
import com.google.android.apps.mytracks.stats.TripStatistics;
import com.google.api.client.util.Strings;
import com.google.common.annotations.VisibleForTesting;
import android.location.Location;
@@ -193,7 +192,7 @@ public class SendFusionTablesUtils {
return null;
}
String[] lines = s.split(Strings.LINE_SEPARATOR);
String[] lines = s.split("\n");
if (lines.length > 1 && lines[0].equals(TABLE_ID)) {
// returns the next line
return lines[1];
@@ -39,7 +39,6 @@ import com.google.api.client.http.GenericUrl;
import com.google.api.client.http.HttpRequest;
import com.google.api.client.http.HttpResponse;
import com.google.api.client.http.InputStreamContent;
import com.google.api.client.util.Strings;
import com.google.wireless.gdata.data.Entry;
import com.google.wireless.gdata.data.Feed;
import com.google.wireless.gdata.parser.GDataParser;
@@ -409,7 +408,7 @@ public class GoogleUtils {
GenericUrl url = new GenericUrl(SendFusionTablesAsyncTask.FUSION_TABLES_BASE_URL);
String sql = "sql=" + query;
ByteArrayInputStream inputStream = new ByteArrayInputStream(Strings.toBytesUtf8(sql));
ByteArrayInputStream inputStream = new ByteArrayInputStream(sql.getBytes());
InputStreamContent inputStreamContent = new InputStreamContent(null, inputStream);
HttpRequest request;
@@ -419,7 +418,7 @@ public class GoogleUtils {
GoogleHeaders headers = new GoogleHeaders();
headers.setApplicationName(SendFusionTablesAsyncTask.APP_NAME_PREFIX
+ SystemUtils.getMyTracksVersion(context));
headers.gdataVersion = SendFusionTablesAsyncTask.GDATA_VERSION;
headers.setGDataVersion(SendFusionTablesAsyncTask.GDATA_VERSION);
headers.setGoogleLogin(fusionTableAuthToken);
headers.setContentType(SendFusionTablesAsyncTask.CONTENT_TYPE);
request.setHeaders(headers);