At Googe I/O this year, Google announced CameraX API, a sort of simpler version of Camera2 API which only requires a few lines of code to add camera capabilities to an app.

The two main benefits of CameraX API are – the fact that developers don’t have to include device-specific code in their codebase. So there are no issues of device compatibility (it is backward-compatible to Android 5.0).

The second (and bigger) benefit is the ability to get the same camera experience and features of a device’s pre-installed camera app with as little as two lines of code. So you can get features like portrait, HDR, Night mode, and beauty mode within your app.

Italian tech blog, Dr. Commodore reported that today, at the ongoing Google Developer Days in China, OPPO announced that it will make its phone’s camera features available to developers using CameraX API.

This means developers will be able to use the beauty and HDR mode in OPPO’s camera app. At the moment, CameraX API will be supported by the Reno 10x Zoom and the Reno 2. OPPO also shared sample photos with and without CameraX through CameraX Basic, so attendees can see the increase in quality when CameraX is enabled

Other manufacturers that have also embraced CameraX API include Samsung, LG, and Motorola.

(Sources: 1, 2 | Via)

 

UP NEXT: OPPO A5 2020 also brings Snapdragon 665, 5000mAh battery and quad cameras