Connect with us

Nexus 5X Bug (Sort Of) Turns Your Camera Photos Upside Down, And There’s No Quick Fix

Nexus 5X

The Nexus 5X’s camera is mounted in another way from that of most smartphones, leading to image orientation glitches when utilizing third-get together apps. LG has notified builders to provide you with fixes to make their apps work with the Nexus 5X’s camera setup.
(Photograph Getty Photographs)

Individuals who obtained themselves a Google Nexus 5X from LG have been stunned when the pictures they snapped utilizing some third-social gathering Android apps have been the wrong way up. Nevertheless, fear not, it isn’t a defective hardware — your phone is simply too “out of the atypical” for many third-celebration camera apps.

In a submit on Nov. 6, Redditor gammaplay, a developer of the QR & Barcode Scanner Android app, posted the contents of an e mail he acquired from LG, asking him to replace his app to resolve the inverted pictures when taking footage, scanning and even video calling.

The difficulty has to do with the H/W limitation of the device.

“Google stated that ought to be fastened in app aspect,” reads the publish.

Apparently, the camera positioned within the Nexus 5X is rotated at one hundred eighty levels however third-social gathering apps are “not appropriately checking the sensor orientation of the device.”

A few days later, Redditor etalvala responded and confirmed LG’s e mail. The tech lead for Android’s camera framework, etalvala stated that there are two methods to mount image sensors on an Android device. Most units are utilizing a method and therefore, most third-social gathering apps have been by no means examined on the opposite method.

“Due to manufacturing causes, we would have liked to mount the Nexus 5X foremost sensor within the much less-widespread (reverse panorama) orientation — the wires from the sensor chip would not have match in any other case,” etalvala defined.

The Android rep additional defined that the previous camera application programming interface (API), which most apps use, requires builders to set application preview rotations. And whereas the default rotation seems to be right for a pressured-panorama app, most apps by no means examine the display orientation technique.

The newer API, camera2, handles the rotation routinely however builders have to transition to the new instruction set. For builders who need to keep on with the previous API, etalvala emphasised that they should examine the UI orientation and sensor utilizing the boilerplate within the developer docs for the right rotation to be utilized.

Moreover, etalvala talked about that the identical drawback plagues the Nexus 6P’s front-facing camera. Android customers ought to notify the builders concerning the glitch in order that the apps might be up to date to work with the new API.

© 2015 Tech Occasions, All rights reserved. Don’t reproduce with out permission.

Source : TechTimes

To Top