A fast way to connect to the web proxy

Configuring Android device to connect to the web proxy running on development build machine is tedious. You have to make the same steps over and over again on every device you want to debug HTTP traffic.
It goes like this:

Read More

Trust specific certificate on JVM-based platforms

I wrote a simple helper which allows loading specific certificate into SSLContext.
You can use it to support untrusted certificate HTTPS connections.
By untrusted certificate I mean this one, which server is certified but system denies it (doesn’t trust it) for some reason.
I found it very useful to load particular certificate dynamically.

Read More

Logging with Retrofit 2

Retrofit has been updated to 2.0 version.
It’s a major change in the one of the most popular library for Android platform.</br> A lot of things have been changed out there but in this blog post I want to cover how to setup logging properly.

Read More