android-camera Questions
2
Solved
I am looking to access mobile back camera from an application I am building on html5/angular. I used
<input type="file" accept="image/*" capture="camera" /> but it always opens the front cam...
Rarebit asked 15/6, 2018 at 4:24
1
Solved
As per android R privacy policy changes, I want to perform the capture and crop image feature for android R devices. I tried the below method but it saving the empty file (file is creating in a spe...
Boff asked 15/6, 2021 at 10:9
3
I used my Fabric-service and found this error on most of the devices that are running my app.
Error was this:
Fatal Exception: java.lang.NullPointerException Attempt to invoke
virtual method '...
Resolvable asked 7/12, 2016 at 13:42
4
I did
@Override
public void onClick(View v) {
switch (v.getId()){
//если выбрали камеру - запускаем ее
case R.id.b_camera:
//uri = generateFileUri();
if (uri == null) {
Toast.makeText(getVie...
Dental asked 11/5, 2016 at 11:24
2
I'm getting an error startPreview failed but not all devices.
In Motorola RAZR and Samsung Galaxy S3, it's working very well.
Some people told me they got the same problem in other devices (Galaxy ...
Buster asked 17/6, 2013 at 6:17
5
Solved
guys! I am facing this camera version. It happened after I merged my projects. It says there is no camera available but back then it was running fine. Please have a look!
E/flutter: [ERROR:flutter/...
Armbruster asked 18/9, 2020 at 9:48
4
Solved
having image distorted when mixing a view from OpenGL and the Android camera to get an image of both when using the takepicture method. I checked and found that the camera picture was set to 640X48...
Petulant asked 10/2, 2014 at 2:59
2
Solved
I am currently trying to code a camera app, which captures an image and displays it through a separate widget. For that I use the Flutter docs here. This is the the full code.
import 'dart:async';...
Kulak asked 22/12, 2020 at 21:48
9
I am using FileProvider in my app. As usual I declared <Provider> tag in AndroidManifest.xml file as below.
<provider
android:name="android.support.v4.content.FileProvider"
android:auth...
Substantiate asked 19/12, 2017 at 13:31
0
I have recently stumbled upon this stackoverflow post
Rotating YUV image data for Portrait Mode Using RenderScript
I am trying to do the same thing, to rotate the image, crop it and convert it to a...
Kunkel asked 5/5, 2021 at 14:20
4
I want to know the angle of view from the camera, just like in this question but using android.hardware.camera2. How can I reproduce the next code using the new camera2 library.
Camera.Parameters ...
Domitian asked 1/7, 2015 at 22:33
0
I can get horizontal and vertical angles of camera view using legacy Camera API or camera2 API (doesn't matter), same values.
But horizontal angle is correct only for 4:3 aspect ratio camera previe...
Physique asked 3/5, 2021 at 21:2
1
I have a Google Pixel 3 and am using Flutter's camera plugin at version 0.8.1.
CameraPreview is blurry, noisy, zoomed in, and generally looks worse than Android's camera app.
Android Camera App:
F...
Tilford asked 3/5, 2021 at 0:58
2
I'm implementing a camera application on Android devices. Currently, I use Camera2 API and ImageReader to get image data in YUV_420_888 format, but I don't know how to exactly write these data to M...
Egwan asked 25/9, 2017 at 11:17
5
Solved
Hii everyone currently iam working on scanning qr code from my app and i have used zxing library and it's working good and my problem is in my galaxy s4 mobile the scanning area is very small
Ple...
Mature asked 5/12, 2013 at 11:9
3
I'm using camera2 api in my camera app designed specifically for Google Pixel 3 XL. This device has two front facing cameras (wide-angle and normal). Thanks to multi-camera feature, I can access bo...
Counterfeit asked 19/1, 2020 at 2:18
3
Solved
I can't find out how to use camerax with previewview.
Judson asked 19/2, 2020 at 13:17
2
Solved
I have a custom camera app which have a centered rectangle view, as you can see below:
When I take a picture I want to ignore everything outside the rectangle. The view hasn't any connection wit...
Catalonia asked 4/1, 2017 at 11:18
0
How to convert
file:/data/user/0/com...../cache/JPEG_980041_6389888734396042298.jpg
to this
[content://com.android.providers.media.documents/document/image%3A16781]
I followed many tutorials on h...
Mcghee asked 8/3, 2021 at 16:51
4
Solved
I've been doing some research for an upcoming project and would like to render the camera view behind a custom shape/semi-transparent img to act as a guide when taking pictures.
Does anyone know o...
Thermy asked 15/5, 2018 at 10:28
2
I search lot but not find any solution. My question is how to add text to video while recording so that we can get same text when we see video. I want something like this when i see capture video.
...
Roborant asked 2/2, 2013 at 9:25
7
Solved
I am using this code to save pic in Imageview but the image is stretched when dsave in imageview. Camera preview is prefect and click right image but when i set that image in imageview the image is...
Prim asked 29/2, 2016 at 7:28
9
I am capturing image using SurfaceView and getting Yuv Raw preview data in public void onPreviewFrame4(byte[] data, Camera camera)
I have to perform some image preprocessing in onPreviewFrame so i...
Tiana asked 17/2, 2012 at 9:36
2
Solved
New Camera 2 API is very different from old one.Showing the manipulated camera frames to user part of pipeline is confuses me. I know there is very good explanation on Camera preview image data pro...
Butte asked 22/9, 2015 at 19:32
3
Solved
I'm trying to learn Camera2 API and I have built a simple camera app just for taking pictures but the problem that I'm facing is that the preview is stretched for some resolutions. I went through a...
Ziska asked 13/9, 2020 at 7:18
© 2022 - 2024 — McMap. All rights reserved.