Gestiada / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 kun...@gmail.com on 12 Sep 2010 at 4:35

GoogleCodeExporter commented 9 years ago
The attachment is the project that will cause the exception.Please take a look, 
thanks

Original comment by kun...@gmail.com on 12 Sep 2010 at 7:01

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting the problem.  I've gotten multiple reports along these 
lines, but I haven't tried reproducing it on Android yet.  I'll try to 
reproduce it on Android ASAP and hopefully provide a fix.

Original comment by yan...@google.com on 13 Sep 2010 at 3:50

GoogleCodeExporter commented 9 years ago
Would you kindly send it to me instead as a zip file of your source project?

I posted a sample of accessing Calendar from Android.  Maybe it helps you 
indirectly figure out how to fix it.

Original comment by yan...@google.com on 13 Sep 2010 at 7:45