Sunday, October 14, 2012

Re: [android-developers] Does Android cache http-requested data?

On Sun, Oct 14, 2012 at 7:58 AM, Keith Wiley <kbwiley@gmail.com> wrote:
Any ideas why a browser on the same device successfully retrieves the updated file and my code doesn't?

Not sure, but looking at the API, there's this:
http://developer.android.com/reference/java/net/URLConnection.html#getUseCaches%28%29

And an equivalent set function. Have you tried that?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate