Category: Android

01/30/2024

10 min read Time measurement is essential for Android app development. It makes our apps faster and more efficient. Kotlin is a popular language for building these apps, and it keeps improving its time management features. Kotlin 1.9 launched the Timing API, a set of tools to measure time intelligently. This is not…

02/11/2020

5 min read TL;DR – For an application that switches between front and back cameras, the recommendation is to switch between the first rear camera and the first front camera in the list of supported camera devices. https://developer.android.com/reference/android/hardware/camera2/CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_LOGICAL_MULTI_CAMERA For quite some time we had a bug in our application where some devices recorded…

11/13/2019

3 min read Recently my team and I worked on implementing WebSockets (known as subscriptions in GraphQL), to allow users to talk to each other in real-time. During this time, we saw that the documentation to this using the Apollo client for Android was pretty bad! So in this post, I will be…

03/17/2019

3 min read Sealed classes are used for representing restricted class hierarchies, when a value can have one of the types from a limited set, but cannot have any other type. They are, in a sense, an extension of enum classes: the set of values for an enum type is also restricted, but…