NEWS

Android 11 will add a new App Compatibility feature to ease testing

Android 11 will add a new App Compatibility feature to ease testing

02 11, 2020
Android 11 will add a new App Compatibility feature to ease testing

Google plans to make testing your apps for compatibility issues much simpler in the next Android release.
 
The company's annual I/O developer event is an exciting time for techies. Shiny new toys are debuted at I/O for both developers and consumers, but they can also present compatibility problems which can ruin the experience users have with your apps.
 
Starting with Android 11, Google plans to add an App Compatibility feature which can be found in the developer settings.
 
The new setting allows developers to simulate platform behaviour changes on a per-app basis without having to send ADB shell commands.
 
When Google plans to make a major change to how Android works, the company often phases it in across releases. This ensures developers have time to update their apps to either support new features or prevent deprecated APIs from breaking their apps.
 
XDA-Developers gives the example of Google's decision to limit implicit broadcasts starting in Android 7 Nougat as part of a bid to improve battery life. As of the following version, Android 8 Oreo, Google completely restricted apps from registering implicit broadcast receivers.
 
In order to test for compatibility problems in the past, developers had to go through the process of using a ADB shell command to simulate the unavailability of implicit broadcasts using: "adb shell cmd appops set RUN_IN_BACKGROUND"
 
The introduction of a UI in Android itself to simulate such changes is not a necessity but an improvement nonetheless to make developers' lives just a bit easier.

By Ryan Daws

Older articles

Huawei sets out its post-Google plans with release of HMS Core 4.0

Huawei has unveiled further details about its replacements to Google’s services as it prepares to lose access following US sanctions. During an event in London, Huawei made its pitch as to why developers should port their apps to HMS (Huawei Mobile Services). The first reason is a cash incentive. Huawei announced that it will use a pot of £20 million ($26 million) to help persuade developers to bring their apps to HMS.

02 11, 2020

Bitcoin developer reports 42% drop in build time, 44% fewer packages

A developer contributing to Bitcoin has published a report detailing improvements made to the world’s largest cryptocurrency. In his report, Michael Ford highlights that the number of packages in Bitcoin Core 0.19.99 has been reduced by 44 percent since version 0.13.2.

02 11, 2020

HackerRank developer skills report: Go remains most desired language, JavaScript best known

A survey report released by HackerRank has found that developers find JavaScript the most-known language, Go most-wanted to learn, and full-stack development skills the most desired in the job market.

02 11, 2020

Analysis shows the 16 most in-demand programming skills

A new analysis highlights the most in-demand programming skills looked for by employers as we begin the new decade. Nick Kolakowski, a writer for Dice Insights, analysed data from Burning Glass – an analytics software company providing real-time data on job trends – and found that most job postings in the past 30 days wanted SQL skills.

02 11, 2020

Microsoft and Qualcomm debut their Vision AI Developer Kit

First announced at BUILD 2018, Microsoft and Qualcomm have debuted their Vision AI Developer Kit for building computer vision applications. The kit is built on Qualcomm’s Vision Intelligence 300 Platform and can run AI models locally or in the cloud using Microsoft’s Azure ML and Azure IoT Edge platforms.

02 11, 2020