Introduction Instrumented tests run on Android devices, whether physical or emulated. As such, they can take advantage of the Android framework APIs. Instrumented tests, therefore, provide more fidelity than local tests, though they run much more slowly. * Image from https://developer.android.com/training/testing/fundamentals Set up your testing environment In your app’s top-level build.gradle file, you need to specify […]
During our development journey, we do face situations where we require to perform some periodic and background tasks. So, to do so, we have multiple ways, but if it comes to the best way to perform these types of tasks in the context of clean code and optimized device resources usages, then we need to […]
Selecting one or the other technology is always a matter of individual preferences but knowing which platform has what benefits can help in deciding the best option. In this blog, we are going to discuss two of the very popular technologies for creating cross-platform apps i.e. Flutter & React Native. Programming Languages Let’s start by […]
Hi and welcome to my blog, During our Android application development, we have been using startActivityForResult and onActivityResult methods a lot for the sake of callbacks from activities. It was really-clear and easy to implement. But Google knows. Unfortunately, now we are getting a warning for this method in our code. So the question is, Now What? And […]
CameraX is another addition to the Jetpack suite of libraries by Google to help developers incorporate camera capabilities into their applications. Although Camera2 API, the predecessor of CameraX, is known to be a powerful API, it is a little problematic to take full advantage of it, especially with a large number of manufacturers having a […]
RecyclerView internally uses a ViewPool to save scrap views which are no longer visible on screen and can be recycled. Normally each recyclerview creates a seperate ViewPool which is limited to that recyclerview only. With the help of #RecyclerView.setRecycledViewPool() we can share a ViewPool across multiple RecyclerViews. With this we can reduce the number of […]
A recent React Native project at the company came with an additional requirement of integrating a video player within the application. There already are a lot of React Native video players available, but almost all of them come with inherent shortcomings. We could not find one with the perfect implementation of overlays and other customizations […]
Android, Experience Design, Front End Development
It was only from mid-2008 with the advent of smartphones, like HTC Dream, or Apple iPhone that it reached the mainstream, taking advantage of all the functionalities that these devices provide. As per Gadgetsnow, usage of the smartphones by Indian users grew by 43% in 2016 and 92% in 2015. A major thing to notice […]
Offline data transfer in Android is a way to transfer data among devices wirelessly without any network accessibility. There are many ways for connecting devices sans cables such as Bluetooth, NFC, Wifi Direct, SIP, etc. Despite the fact that a large audience is looking towards internet solutions, these ways have their unique use cases and […]