Frontal Camera Image Distortion
Asked Answered
P

1

3

I've developed an application for Android. With camera. And there is very strange behaviour on some devices. The thing is that taken image is very distorted.

Like this result image

This issue occures only on some devices (Nexus 4 as example) and only when image is taken with frontal camera ! When image is taken with rear camera everything works great (Even on Nexus 4)

So I have no idea how this can be and what should I do with this. Googling gave no results at all. And this is a big problem because I have no Nexus 4, so I can't debug the application on it.

I just found that in AndroidMainfest.xml there is no android.camera.front feature described in uses-feature tag can it be the reason of such strange behaviour ?

Need help ...

Philan answered 7/1, 2013 at 23:13 Comment(2)
No ... Googling gave no results ... Different tests with Manifest.xml gave no results as well ...Philan
Searching for the same solution, maybe this one helps: https://mcmap.net/q/902425/-getsupportedpicturesize-returns-a-value-which-is-not-actually-supported-by-nexus4Spoiler
P
2

Well, the problem was in "uses-feature" tag in AndroidManifest.xml. After android.camera.front feature were added everything worked perfectly.

Philan answered 10/1, 2013 at 18:19 Comment(2)
Exactly the same problem here. In my case adding the permission did not fix it. Could you show me your manifest file or have any idea why this still isn't working in my case?Gazette
To be honest It started working not on all devices. I still have this problem on Galaxy Note. AND I HAVE NO IDEA WHAT TO DO WITH THIS. Googling gave no results at all.Philan

© 2022 - 2024 — McMap. All rights reserved.