Janmejay Singh

Android developer. Senior Software Engineer.

Android, Data & Analytics

ANR for TV

Description When the UI thread of an Android app is blocked for too long, an "Application Not Responding" (ANR) error is triggered. If the app is in the foreground, the system displays a dialog to the user, as shown in the figure below. ANRs are a problem because the app's main thread, which is responsible for updating the UI, can't...

08-Oct-2023

Android, Mobility

Instrumental Testing on MLKit (integration test)

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...

23-Dec-2022