Coding with Titans

so breaking things happens constantly, but never on purpose

HowTo: Preview Mobile Screen on Desktop

While doing mobile development there is always a need to present or capture your screen (for bug description) with an application actively running on the screen. Here are my tips and apps I use often that help me to achive that goal for both platforms. I hope you will also find them useful. iOS While using iOS devices, both features are already build into the system. To present mobile screen on desktop: Read more →

HowTo: Using assets in Android unit-test project

You have probably heard already a tremendous number of times that unit-testing your Android code is important. It’s all true and still valid. And there is one recipe I tend to forget quite often, which I also found extremely useful, while writing tests exercising (or relying onto) any external data. In this scenario, all the content is kept outside of the unit-test itself and is simply read at runtime from resources (aka assets). Read more →

HowTo: Enable Android Developer Options on Philips TV

Finally, at some point in application development cycle there is a need to test it on a big screen. Four months ago we started playing with Philips 55PUS7502/12. Big enough to see all the details. So how to get started? Press Settings on the remote and navigate to Settings > All settings > Android Settings. Open System Information. Click 7 times on Compilation version. This should enable “Developer Options”. We just crossed half of the way. Read more →

OpenCV 3.4.9 for Android with a little bits of native C++ code

Another task on the horizon: integrate OpenCV 3.4.9 into an Android application written in Kotlin. Additional requirement complicated this task a bit. Let’s also try to have some C++ code around, that is shared with other platforms and that interacts and configures OpenCV video processing. Of course nobody expects any rough edges nor problems, right… One might think it’s a typical scenario and lots of mobile apps use OpenCV this way. Read more →

Docker image for Android CI

And the day has finally came. Turned out my docker image for Continuous Integration to build Android native apps doesn’t work anymore. Honestly, it wasn’t even my fault. At first glance the OS was OK, Android SDK was also OK, but then fastlane installation was not happy about something. And that little something turned out to be a real PAIN … in my arm! Ruby ta-da-da-tam! But how was that? Read more →

Enable Android Emulator on Windows 10 Hyper-V

During installation of Android Studio we usually end-up with Android Emulator using Intel HAXM. This is still pretty good virtualization platform. Unfortunately might lead to a clash, since only one virtualization technology could be used at a time. And if you continue using Docker for Windows or any other Hyper-V based virtual machine with Linux system, something will not work (depending, what was launched first). Fortunately Microsoft solved this problem with 1803 release for Windows 10. Read more →