Posts

Showing posts from July, 2019

Testing with two emulators

Image
Left: Google Pixel 2; Right: Google Pixel 3 For mobile app development it is often necessary to test with multiple devices to ensure compatibility.  Given that there are a wide variety of popular devices on the market, it is almost impossible to test them all.  While there are automated testing facilities, I need to experiment my app and see the results right in front of me in real time.  There are different device system images that can be downloaded.  Among the Android device images, there are two variables that require particular attention: (1) API Level, and (2) Screen-resolution. API Level is about the operating system version.  In the picture above, the emulator at the left runs on Android 7 (API 24) with resolution 1080 x 1920 (so called Full HD), while the emulator at the right runs on Android 9+ (API 29) with resolution 1080 x 2160.  The API level and screen resolution are the primary factors that cause the app appear inconsistently among d...