I want to Create an simple application. There are two button one for front camera and second for back camera. When i click on front camera button then only front camera is opened no one can open back camera and when i click on back camera button then only back camera is open.
Please help me how can i do this please
I hope you can try like this but I didn’t tested it
For button set front camera to true
For 2nd button click set front camera to false…
there is no property showing like this in camera
Yes there is not cause this option is deprecated.
Maybe this extension might have an option
Pro camera is made with the latest Android camera 2 API which gives access to more features and stability than the camera 1 API. This extension was written long ago
Noise reduction mode
Enhance mode for camera output
Camera focus lock/unlock
Manual focus distance (which currently works with just a few devices such as Samsung)
Other things which the camera have
Explaining how each block work and their features
Fired when ca…
i used this camera is open but i cannot click or save the image how can i do that if you can help me
Here is the same app with in built camera component
Camera.apk (5.1 MB)
Here is aia file try it and tell if this works
Camera.aia (1.6 KB)
If not, you can make use of this post…
Hello, I’m trying to show a live preview of the front camera using Surface View component.
I think it has some problem or maybe I’m doing something wrong.
There is no problem to show back camera’s live preview but when to try to show front camera preview, it shows only back screen. I tried everything.
Same issue in Companion and exported APK.
Both companion and APK have all the permission accepted.
I used two different phones and the issue was still there on both of the phones.
1st phone -…
Here is aia file
I think you misunderstand his query. If he hit button 1 front should open
If he hit button2 back side camera to open.
In your aia, it opens camera and user need to change from the default camera.
make use of this post
i tried this aia, and got working in companion, oppo neo7 model
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.