Blogs
2023
Android emulator access to local server
·3 mins
Android
Adb
Emulator
Localhost
Server
How can you connect your app on an Android emulator to a development server running on the localhost of your computer?
The problem # Since Android emulators create their own virtual network, they cannot access devices on your local network.
2022
Transfer many large files from Android
·3 mins
Android
Adb
Backup
Files
Trying to get a large number of files from your Android phone, but Android File Transfer freezing up?
Here’s what I learned trying to pull ~170 Gb from my Pixel phone.
Verify Github profile link on Mastodon
·2 mins
Mastodon
Github
Tips
Looking to get a fancy verified checkmark on Mastodon for your Github account?
This post details how I made this work.
Steps # Before I get started, huge thanks to Simon Wilson for inspiring me with the original idea.
Test React app on mobile without Wi-Fi
·1 min
React
Offline
Tips
Traveling by train or plane and want to test your react app on your mobile phone? This quick post explains how to access your react development server from your phone without a Wi-Fi connection.
The curious case of crashing Workers
·3 mins
Workmanager
Crash
WorkManager is great to schedule background work on Android. However, since scheduled work lives outside of the app lifecycle, you might run into unexpected crashes.
No, your pull request does not need a review
·5 mins
Pull Request
Code Review
Process
Team
In the past years, my thoughts on pull request reviews have evolved considerably. Given that creating and reviewing pull requests are a core part of our work, let’s talk about those.
2021
Migrate existing library artifacts from JCenter to Maven Central
·8 mins
Script
Migrate
Jcenter
MavenCentral
Maven
With JCenter shutting down, many are migrating to Maven Central. And while there are many posts on how to publish new artifacts, also all existing artifacts should be migrated away from JCenter.
Share code between Android and Jvm in Kotlin multiplatform
·3 mins
Android
Kotlin
Multiplatform
Code Sharing
Gradle
While Android supports most Java language features, it doesn’t support every API that Java provides. On the other hand, Kotlin multiplatform only allows sharing code across all targets (commonMain), not a subset of targets (commonJvm).
Migrating away from JCenter
·5 mins
Android
Library
Maven
Jcenter
Bintray
Transitive Dependencies
Gradle
This week JFrog - out of nowhere - announced to completely remove their Maven repository. Since they’ll pull it offline already by May 2021 (!!!) it’s time to urgently migrate away.
Year in review 2020
·3 mins
Review
Well… I don’t really know where to start this time. 2020 was quite the rollercoaster, with many downs… but fortunately also a few amazing ups. Let’s focus on the good stuff.