Matthias Käppler

Results 97 comments of Matthias Käppler

You can specify where you want to write the files using the AbstractCache.DISK_CACHE_INTERNAL and AbstractCache.DISK_CACHE_SDCARD fields. ImageLoader's ImageCache caches to SD by default, unless no SD card is available.

Hmmm, it actually should already do that. We use getApplicationContext().getCacheDir() to determine where to write cached files when DISK_CACHE_INTERNAL is requested as the caching mode. Here are the relevant parts:...

Hm yeah that's definitely an issue if that's true. I remember vaguely that in one of the newer SDK versions Google added a standard helper function to get a reference...

Which API level was that?

There is a timeout. It's 30 seconds by default, and you can set it to any value you like. Globally do it via BetterHttp.setSocketTimeout(), and per-request using request.withTimeout(). It simply...

Also, make sure you require android.permission.ACCESS_NETWORK_STATE in your manifest file. This makes sure that BetterHttp's ConnectionChanged receiver is triggered, which makes sure to update proxy settings that your carrier may...

This is happening to me too, on Fedora 36: ``` Linux carbon-x1 5.19.6-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 31 17:58:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ```

Could this be a problem related to Wayland?

> * if you did manage to get that many files into your zip, presumably you'd be worried about the heat-death of the universe before rubyzip had read the Central...