rlalfo / google-http-java-client

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

Android 4.1 HttpResponseCache not work #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.5.0-beta)?
1.11.0-beta

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Android 4.1

Describe the problem.
For Android 4.1,use HttpURLConnection and set HttpResponseCache(since Android 
API13), can auto cache http request(json, png...)
http://developer.android.com/intl/zh-CN/reference/android/net/http/HttpResponseC
ache.html

Use NetHttpTransport, it not work.

How would you expect it to be fixed?

Original issue reported on code.google.com by lolian...@gmail.com on 16 Sep 2012 at 4:37

GoogleCodeExporter commented 9 years ago
Sorry to hear that it is not working for you.  I suggest you contact Android 
support for help:
http://developer.android.com/support.html

I have not tried it myself yet.  Please let me know what you find out.  Thanks!

Original comment by yan...@google.com on 2 Oct 2012 at 1:33