Coder Social home page Coder Social logo

google-api-java-client's People

Contributors

aiuto avatar anthmgoogle avatar imjasonh avatar ngmiceli-g avatar peleyal avatar rmistry avatar

google-api-java-client's Issues

Change default HTTP transport for Apache HTTP Client and Google App Engine

What is the feature requested?

Currently we always use NetHttpTransport by default.  The new default behavior 
should be to use the new UrlFetchTransport when running on Google App Engine.  
Alternatively, the default should be to use ApacheHttpTransport if it is 
available on the classpath, e.g. on Android.  Otherwise, it should continue to 
use NetHttpTransport by default.

Note that this only changes the default behavior.  It does not affect what 
happens if the transport is manually specified.

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7)?


External references, such as a standards document, or specification?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 28 Sep 2010 at 7:00

AuthTokenTypes not available.

What is the feature requested?
Could we have a list of the AuthTokenTypes for use within getAuthToken() - I am 
trying to access My Maps

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
All, but namely Android

External references, such as a standards document, or specification?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 30 Sep 2010 at 7:40

Calendar V2 Atom OAuth Sample for App Engine

Which API (e.g. Google Calendar Data API)?

Google Calendar Data API

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?

App Engine 1.3.7

External references, such as API reference guide?

http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 4:30

Code review request for revision 017294d64c

URL for the revision:

http://code.google.com/p/google-api-java-client/source/detail?r=017294d64cc08fb8
e6a58de3169f7b944d2904f8

Notes:

Sorry, I accidentally commited this one, so doing a post-commit review.

Original issue reported on code.google.com by [email protected] on 20 Oct 2010 at 4:31

YouTube uploading

Which API and version (e.g. Google Calendar Data API version 2)?
YouTube Data API version 2

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

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Java 6

External references, such as API reference guide?


Please provide any additional information below.
Could you please expand the YouTube sample to demonstrate video uploading? I've 
tried all uploading methods (Direct uploading, resumable uploading, uploading 
without metadata) and always get a Bad Request. All other functionality 
(accessing videos, deleting them, etc) is working, it is only uploading where 
I'm having the problems. Uploading in this fashion (using 
MultipartRelatedContent) works perfectly for me with Picasa. What is different 
about YouTube?

Original issue reported on code.google.com by [email protected] on 1 Oct 2010 at 2:40

  • Merged into: #16

Support for Java generic types (for example <T>)

What is the feature or sample requested?

For example, Feed<T> may contain a field "List<T> entries" to allow the entry 
type to be a generic type of Feed.  Then one can for example declare 
"CalendarFeed extends Feed<CalendarEntry>".

Currently, the Client Library will in this case not be able to determine the 
correct type of "entries" and can not parse them.

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?

All.

External references, such as a standards document, or specification?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 4:11

com.rili.android.client.googlecalendar.DateTime dateOnly doesn't work?

Version of google-api-java-client : 1.1.0-alpha


In the com.rili.android.client.googlecalendar.DateTime, I see the following 
code:
public DateTime(boolean dateOnly, long value, Integer tzShift){
    this.dateOnly = false;// The parameter "dateOnly" doesn't work? 
    this.value = value;
    this.tzShift = tzShift;
}

DateTime dt = DateTime.parseRfc3339("2010-09-23");
dt.dateOnly should be true, but now false. 

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 2:51

health-v2-atom-android-sample

Which API (e.g. Google Calendar Data API)?

Google Health Data API

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

Atom

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

Android

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

Android 2.2

External references, such as API reference guide?

http://code.google.com/apis/health/getting_started.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 10:22

Android example for Doc List API v3

Which API (e.g. Google Calendar Data API)?
Document List API v3

What format (e.g. JSON, Atom)?
Open to either.  Whatever would work for an installed Android app.

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Android 2.1+

External references, such as API reference guide?
Using Eclipse ADT Plugin for Android 
(http://developer.android.com/guide/developing/eclipse-adt.html)

Please provide any additional information below.
Since this is the version that supports Android, I would love to see an Android 
example using the Doc List API.  In fact, I don't see any examples using the 
Google API CL for Java in an Android setting.  Since, ADT is one of the most 
common Android dev settings, it would be great to see it work in that 
environment.  Thank you very much for your consideration!

Original issue reported on code.google.com by [email protected] on 24 Sep 2010 at 5:01

  • Merged into: #23

OAuth 2 draft 10

What is the feature or sample requested?

Update from existing draft 7 to draft 10 of OAuth 2.


Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?

All.


External references, such as a standards document, or specification?

http://tools.ietf.org/html/draft-ietf-oauth-v2


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 11 Sep 2010 at 1:34

latitude-v1-json-android-sample

Which API (e.g. Google Calendar Data API)?
Latitude

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

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Android.  The older the better (back to 1.5), but if it's not possible, then 
newer is fine.

External references, such as API reference guide?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Sep 2010 at 10:07

contacts-cmdline-sample

Which API (e.g. Google Calendar Data API)?

Google Contacts Data API

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6)?

Java 6

External references, such as API reference guide?

http://code.google.com/apis/gdata/docs/2.0/basics.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 10:03

package-info.java instead of package.html

External references, such as a standards document, or specification?

http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#so
urcefiles

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7, or All)?

All

Please describe the feature requested.

The primary advantage of package-info.java over package.html is the ability to 
specify package-level annotations.  Also, it is convenient to allow it to 
follow the same style as the JavaDoc in all other Java source files.

Original issue reported on code.google.com by [email protected] on 20 Oct 2010 at 7:09

Youtube - get videos from user using 3-legged OAuth

I'm a bit confused with the different APIs and client versions. 

Which API and version (e.g. Google Calendar Data API version 2)?
google-api-java-client 1.2 - youtube api.

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

What Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?
3-legged OAuth 1.0a

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Java6, Servlet

External references, such as API reference guide?


Please provide any additional information below.
get request token,
redirect user to grant access,
handle callback from youtube and get access token,
send request to youtube for all uploaded videos of user.

Original issue reported on code.google.com by [email protected] on 23 Oct 2010 at 5:18

books-v2-atom-android-sample

Which API and version (e.g. Google Calendar Data API version 2)?
Google Books Search API

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

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Android 2.2

External references, such as API reference guide?
http://code.google.com/apis/books/docs/viewer/reference.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 25 Sep 2010 at 7:25

Dependency for net.sf.kxml.kxml2

Version of google-api-java-client: 1.1.1-alpha

Java environment: Java 6

Problem: google.api.client have a direct dependency for 
org.xmlpull.v1.XmlPullParser but only imports xpp3 jar transitively, by 
com.google.android. It is considered a maven bad practice. If your project have 
a direct dependency, it should explicitly declare that dependency in pom.xml.


The problem should be fixed by adding

<dependency>
<groupId>net.sf.kxml</groupId>
<artifactId>kxml2</artifactId>
<version>2.3.0</version>
</dependency>

to pom.xml

Original issue reported on code.google.com by [email protected] on 1 Oct 2010 at 12:30

  • Merged into: #31

Google App Engine low-level HTTP transport based on URLFetch

What is the feature requested?

Google App Engine low-level HTTP transport based on URLFetch.

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

App Engine

External references, such as a standards document, or specification?

http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/urlf
etch/package-summary.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 24 Sep 2010 at 3:48

Calendar Sample for Android

Which API (e.g. Google Calendar Data API)?

Google Calendar Data API

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?

Android

External references, such as API reference guide?

http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 4:29

Defect in Prediction API - need to add access method for mixture and numeric data type

In the code for 
com.google.api.client.sample.prediction.PredictionSample 

there is a method for Predict (Shown below).  In the API we need a way to set 
the inout type to be mixture and numeric 

Currently you can only do this: 
nputData.input.text.add(text); 


 private static void predict(HttpTransport transport, String text) 
      throws IOException { 
    HttpRequest request = transport.buildPostRequest(); 
    request.url = 
PredictionUrl.forPrediction(ClientLoginCredentials.OBJECT_PATH); 
    JsonCContent content = new JsonCContent(); 
    InputData inputData = new InputData(); 
    inputData.input.text.add(text); 
    content.data = inputData; 
    request.content = content; 
    OutputData outputData = 
request.execute().parseAs(OutputData.class); 
    System.out.println("Text: " + text); 
    System.out.println("Predicted language: " + 
outputData.output.outputLabel); 
  } 

Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 9:30

Support for Retry-After header

External references, such as a standards document, or specification?

http://tools.ietf.org/html/rfc2616#section-14.37

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

All.

Please describe the feature requested.

Retry-After is used on a 503 (Service Unavailable) or 3xx (Redirection) 
response to indicate the number of seconds to wait or the HTTP-date for when to 
reissue the request.  The HTTP library shoud process that and automatically 
wait the specified amount of time and then reissue the request.  It could 
potentially be customized by the maximum amount of time allowed to wait.

Original issue reported on code.google.com by [email protected] on 7 Oct 2010 at 12:21

Error parsing Date with DateTime

Version of google-api-java-client (e.g. 1.1.0-alpha)? 1.1.0-alpha


Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)? 1.6


Describe the problem.
This test currently failed, when hour = 24. Replace hour=24 by hour=0 to solve 
the issue in the parseRfc3339.

DateTime date2 = DateTime.parseRfc3339("2010-10-18T24:31:49Z");
        calendar.setTimeInMillis(date2.value);
        assertEquals(18,calendar.get(GregorianCalendar.DAY_OF_MONTH));


How would you expect it to be fixed?


Original issue reported on code.google.com by [email protected] on 18 Oct 2010 at 1:15

OAuth JavaDoc page seems incomplete

the example in the page 
"http://gdata-java-client.googlecode.com/svn/tags/2.2.1-alpha/javadoc/com/google
/api/client/googleapis/auth/oauth/package-summary.html#package_description" 
seems incomplete,such as the definition of getCurrentUserId(),run() and 
privateKey didn't exist in the code.
  where's the missing part?Did it being missed on purpose?Thanks a lot for watching my issue.


Original issue reported on code.google.com by [email protected] on 4 Aug 2010 at 9:50

Use client calendar api in android 2.1 cause response code = -1

Version of google-api-java-client: 1.1.0-alpha

Java environment: Android 2.1

What steps will reproduce the problem?
The first time call calendar api is OK, but the second time will cause response 
code = -1. This happened on android 2.1, run the same code on jdk 1.6 is OK.

Exception:
com.google.api.client.http.HttpResponseException: -1
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java 219)

Original issue reported on code.google.com by [email protected] on 12 Sep 2010 at 4:35

chromewebstore-v1-json-oauth-appengine-sample

Which API and version (e.g. Google Calendar Data API version 2)?

Chrome Web Store Licensing API version 1.

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

JSON

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

OAuth.

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

App Engine.

External references, such as API reference guide?

http://code.google.com/chrome/webstore/docs/check_for_payment.html
http://code.google.com/chrome/webstore/docs/samples.html

Please provide any additional information below.

This is basically the same concept as the sample already published, just using 
this library instead.

Original issue reported on code.google.com by [email protected] on 7 Oct 2010 at 3:00

Support error parsers

What is the feature or sample requested?

Add support for error parsers directly in the Client Library. Currently, error 
parsers need to be set up like this:

   XmlHttpParser errorParser = new XmlHttpParser();
   errorParser.contentType = "application/vnd.google.gdata.error+xml";
   errorParser.namespaceDictionary = errorNamespaceDictionary;
   transport.addParser(errorParser);

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?

All.

External references, such as a standards document, or specification?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 4:20

Google Documents V3 sample on Android

Which API (e.g. Google Calendar Data API)?

Google Documents List API

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

ATOM

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

OAuth

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

Android 2.1

External references, such as API reference guide?

http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html

Please provide any additional information below.

include upload, download function on sample

Original issue reported on code.google.com by [email protected] on 22 Sep 2010 at 1:55

  • Merged into: #18

prediction sample: "Training (hasn't) has not completed."

In the current version of:

hg/ prediction-json-clientlogin-sample/ src/ com/ google/ api/ client/ sample/ 
prediction/ PredictionSample.java

checked-in by:  Yaniv Inbar 

on line 91, it says:

if ("Training hasn't completed.".equals(checkTraining.modelinfo)) {

but, in fact, Google returns this string if training hasn't finished:

"modelinfo":"Training has not completed."

i.e., "has not" instead of "hasn't".



Original issue reported on code.google.com by [email protected] on 8 Oct 2010 at 11:52

re

Latitude API

JSON


ClientLogin


Java 6


API reference guide


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Oct 2010 at 5:52

MyMaps download sample

Which API and version (e.g. Google Calendar Data API version 2)?
Google Maps (My Maps)

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

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Android 2.1/2.2

External references, such as API reference guide?


Please provide any additional information below.
Currently have problems with the features feed de-coding

Original issue reported on code.google.com by [email protected] on 4 Oct 2010 at 2:58

google map and client login example

Which API (e.g. Google Calendar Data API)?
Google map data

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?
Java 5 or 6

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 1:55

Basic Authorization

External references, such as a standards document, or specification?

http://tools.ietf.org/html/rfc2617#section-2

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

All.

Please describe the feature requested.

Implement "Basic Authorization", which specifies the Base64-encoded username 
and password in the Authorization header.

Original issue reported on code.google.com by [email protected] on 11 Oct 2010 at 7:09

2-legged OAuth sample

We should port the 2-legged OAuth (a.k.a. domain-wide delegation) sample 
written for an older version of this library into this new location:

http://code.google.com/p/gdata-java-client/source/browse/branches/2/sample/googl
eapps/two-legged-oauth-sample/src/com/google/api/data/sample/googleapps/TwoLegge
dOauthSample.java

Original issue reported on code.google.com by [email protected] on 20 Sep 2010 at 8:28

HttpRequest.method should be an enum

External references, such as a standards document, or specification?

N/A

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7, or All)?

All.

Please describe the feature requested.

Currently HttpRequest.method is a String.  An enum would be a better choice.  
Note that this is a backwards-incompatible change.

Original issue reported on code.google.com by [email protected] on 19 Oct 2010 at 9:11

sample for uploading and exporting files from google docs.

Which API and version (e.g. Google Calendar Data API version 2)?
google docs

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

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
android 2.1

External references, such as API reference guide?


Please provide any additional information below.


Hi. i would like to request for a sample on how to download and upload files to 
google docs? i have saw the google docs list sample. i tried it and i was able 
to see the list of documents. however when i want to export a file from google 
doc, only some files are able to retrieve and most files will give me an 
httprequestException 302  moved temporarily.

Is there any guide on it? thank you.. really urgently needed.

Original issue reported on code.google.com by [email protected] on 18 Oct 2010 at 1:38

  • Merged into: #18

Youtube

Code required for fetching from youtube, the following using 
google-api-java-client

1) Most Rated Videos
2) Most Viewed Videos
3) Searching a video

Regards,
Anees

Original issue reported on code.google.com by [email protected] on 27 Sep 2010 at 5:02

  • Merged into: #16

Dependency for xpp3

Version of google-api-java-client (e.g. 1.1.0-alpha)?

1.1.1-alpha

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

Java 6

Describe the problem.

When I call new AtomParser(), I get java.lang.NoClassDefFoundError: 
org/xmlpull/v1/XmlPullParserException


How would you expect it to be fixed?

Add dependency on kxml2 (or xpp3) from the pom.xml.

Note: this was reported by a user on the Google Group

Original issue reported on code.google.com by [email protected] on 29 Sep 2010 at 7:35

youtube-v2-atom-oauth-sample

Which API (e.g. Google Calendar Data API)?

YouTube Data API

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6)?

Java 6

External references, such as API reference guide?

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_audience.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 10:05

How I can reuse stored tokens to do future queries ?

Which API and version (e.g. Google Calendar Data API version 2)?
  google-api-java-client.1.1.0-alpha


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

What Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?
  We need an example to OAuth 2

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
  Java 6

External references, such as API reference guide?
  We are using the picasa API

Please provide any additional information below.

1. We are runing the picasa-atom-oauth-sample and it works perfect.
2. The example have a "private static OAuthCredentialsResponse credentials;"
3. Execute the next code to obtain the access tokens:
    GoogleOAuthGetAccessToken accessToken = new GoogleOAuthGetAccessToken();
    accessToken.temporaryToken = tempToken;
    accessToken.signer = signer;
    accessToken.consumerKey = "www.mydomain.com" /*"anonymous"*/;
    accessToken.verifier = verifier;
    credentials = accessToken.execute();
    signer.tokenSharedSecret = credentials.tokenSecret;

4. We are storing the credentials.token and credentials.tokenSecret for future 
reuse, but when we try to reuse the tokens in other programs it send me a "403 
Forbidden":
Exception in thread "main" com.google.api.client.http.HttpResponseException: 
403 Forbidden
    at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:219)
    at com.google.api.client.sample.picasa.model.Feed.executeGet(Feed.java:51)
    at com.google.api.client.sample.picasa.model.UserFeed.executeGet(UserFeed.java:37)
    at com.google.api.client.sample.picasa.AuthTest1.showAlbums(AuthTest1.java:54)
    at com.google.api.client.sample.picasa.AuthTest1.<init>(AuthTest1.java:46)
    at com.google.api.client.sample.picasa.AuthTest1.main(AuthTest1.java:94)

5.  We have a registered application in 
https://www.google.com/accounts/ManageDomain, and we are using the parameters:
    OAuth Consumer Key:    www.mydomani.com
    OAuth Consumer Secret: XXXXXXXXXXXXXXXXXXXXXXXX

Can you give us a correct example of how to get access and how to reuse stored 
tokens? 

Original issue reported on code.google.com by [email protected] on 11 Oct 2010 at 11:23

Attachments:

Resumable media upload

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
It should provide API to upload Video on youtube from Android platform

What version of the product are you using? On what operating system?
Android 2.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Aug 2010 at 1:59

youtube-v2-atom-android-sample

Hi,
Need to get the same output given in 
http://www.javacodegeeks.com/2010/05/getting-started-with-youtube-java-api.html,
 atleast in System.out.println, from an android (1.6 to 2.2 SDK) activity, 
using this api.

Kindly, kindly provide a sample as above.

Regards,
Anees([email protected])

Original issue reported on code.google.com by [email protected] on 23 Sep 2010 at 7:37

Automatically follow redirects

What is the feature requested?

By default the http library should automatically follow redirects, as specified 
in the Location header for a 3xx response.  By default there should be a fixed 
maximum number of redirects it follows to avoid an infinite loop.  It should be 
possible to turn set this maximum number, using 0 to disable following 
redirects.

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

All.

External references, such as a standards document, or specification?

http://tools.ietf.org/html/rfc2616#section-10.3
http://tools.ietf.org/html/rfc2616#section-14.30

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 7 Oct 2010 at 11:36

blogger-v2-atom-oauth-sample

Which API (e.g. Google Calendar Data API)?

Blogger Data API

Java environments (e.g. Android 2.2, App Engine 1.3.7, Java 6)?

Java 6

External references, such as API reference guide?

http://code.google.com/apis/gdata/docs/2.0/basics.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 10:00

AccessControlException thrown when running on Google App Engine

Version of google-api-java-client (e.g. 1.1.0-alpha)?

1.1.0-alpha

Java environment (e.g. Android 2.2, App Engine 1.3.7, Java 6 on Windows)?

App Engine 1.3.7

What steps will reproduce the problem?
1. Start program

What is the expected output?

No exception.

What do you see instead?

Caused by: java.security.AccessControlException: access denied 
(java.lang.RuntimePermission setFactory)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
    at java.security.AccessController.checkPermission(AccessController.java:553)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
    at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
    at java.lang.SecurityManager.checkSetFactory(SecurityManager.java:1629)
    at java.net.HttpURLConnection.setFollowRedirects(HttpURLConnection.java:267)
    at com.google.api.client.javanet.NetHttpTransport.<clinit>(NetHttpTransport.java:36)

Please provide any additional information below.

Was working in version 1.1.0-alpha.

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 8:22

Totally confused

Ok, I am trying to talk to the services listed here

http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_
protocol.html#Creating_a_User_for_a_Domain

I am writing Java so I want to use the google client library, the "Getting 
Started" page http://code.google.com/apis/gdata/articles/java_client_lib.html 
directs me to download "gdata-java-client"

When I go to that page, it says at the bottom that the new "Google API Client 
Library for Java" is the new thing to use and that it is "backwards compatible" 
and "Summary: same library, but with additional features, and a new name. "

So I then download "google-api-java-client". However all my previous code that 
uses things like UserService etc no longer compiles. The API page says its 
supports the provisioning API but I don't see anything in the Javadocs relating 
to this.

Where to start??

Original issue reported on code.google.com by [email protected] on 26 Aug 2010 at 6:46

calendar-v2-jsonc-oauth-sample

Which API and version (e.g. Google Calendar Data API version 2)?

Google Calendar Data API version 2

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

JSON-C

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

OAuth

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?

Java 6

External references, such as API reference guide?

http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 7 Oct 2010 at 3:07

GWT compatibility

External references, such as a standards document, or specification?

http://code.google.com/webtoolkit/

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7, or All)?

All.

Please describe the feature requested.

Some subset of the library should be fully GWT compatible.  For example, 
DateTime and ArrayMap from the util package.  It would be nice to publish a 
GWT-compatible version of the google-api-java-client jar. 

Another possible use of this is the ability to share data classes for both GWT 
RPC and HTTP requests.  So for example I might have a CalendarEntry class which 
represents the XML model of a calendar, but also be able to send it over GWT 
RPC.

Original issue reported on code.google.com by [email protected] on 13 Oct 2010 at 3:24

Upload a CSV file to Google Spreadsheets using google-api-java-client 1.1.1-alpha

Which API and version (e.g. Google Calendar Data API version 2)?
google-api-java-client 1.1.1-alpha

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

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

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Java 6 or Scala :)

External references, such as API reference guide?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 27 Sep 2010 at 9:08

docs-android-sample

Which API (e.g. Google Calendar Data API)?
Google Document List and Google Spreadsheets
Version 3.0 preferably

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

What Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?
OAuth and AccountManager on Android

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Android 1.5 onwards

External references, such as API reference guide?
http://code.google.com/apis/spreadsheets/data/3.0/
http://code.google.com/apis/documents/docs/3.0/

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 1:30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.