Tag: Android

01/20/2024

5 min read Introduction Have you ever glanced at your mobile screen and noticed an app’s icon looking fresh and different from before? This isn’t just visual flair; it’s the magic of dynamic app icons at play. This fascinating feature allows Android apps to change their icons dynamically, all without needing updates from…

10/02/2022

7 min read Google created the open-source Android operating system with mobile devices in mind. Over the years, it has grown significantly in popularity, which has led to a tremendous demand for Android developers. According to Statista, a statistics portal, Android has a market share of 87%; this is greater than the market…

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…