android-camera Questions

13

Solved

I want to get file name from sdcard file path. e.g. :/storage/sdcard0/DCIM/Camera/1414240995236.jpg I want get 1414240995236.jpg I have written the code to fetch the same but it is not working. Pl...
Runofthemill asked 26/10, 2014 at 5:28

5

Solved

In my application I have added feature of image uploading,It works fine with all the Images except camera image,whenever I browse camera image from gallery and portrait image rotate in 90 degree..f...
Sam asked 7/2, 2015 at 5:57

5

Solved

I implemented the application for getting image from the camera album in sdcard.But it is not working properly. Here Intent returns like this Intent { act=com.htc.HTCAlbum.action.ITEM_PICKER_FROM_...
Collegian asked 20/10, 2011 at 7:58

4

Right after the app launches, I am getting permission to use Camera from the user. But before opening camera if I check if the user has granted camera permission or not, I get the response as "fals...
Judgment asked 7/6, 2018 at 6:44

3

I want work with usb camera (uvc) and Android Studio (Windows). I am having problems with the USB cam library "libuvccamera". I want to know how solve the problems or any another way to get the vie...
Ascent asked 15/4, 2020 at 0:29

3

I have a user who is not able to use the camera in my Android app even though she seems to have all the right permissions. She is using a Google Pixel 6 Pro, Android 12 Build/SD1A.210817.037. She h...
Stapes asked 12/12, 2021 at 17:48

1

I'm trying to use an ImageReader to get RGB images from the camera. I'm using the Camera2 API from Android 5.0 "L" on a Nexus 5 running the developer preview. Note that I am not asking ho...
Onslaught asked 10/9, 2014 at 23:25

3

I am using CameraX Here is my image capture : mImageCapture = ImageCapture.Builder() .setCaptureMode(ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY) .setTargetAspectRatio(screenAspectRatio) .bui...
Meistersinger asked 22/2, 2020 at 11:11

1

Solved

I'm using Jetpack Compose, and when I call the method to take a picture with the camera, the result of ActivityResultContracts.TakePicture is always false. Sample code: @OptIn(ExperimentalPermissio...
Biblicist asked 8/2, 2023 at 14:37

6

While using camera in service mobile screen is getting un-touchable(locked by transparent window ) and only below error is occuring Access denied finding property "camera.hal1.packagelist" what...
Averse asked 15/1, 2018 at 10:5

15

Solved

I've been working on making my custom camera activity on Android, but when rotating the camera, the aspect ratio of the surface view gets messed up. In my oncreate for the activity, I set the fram...

2

I want to analyse a stream of image frames and do some computation on it. However, with CameraX, the ImageAnalysis implementation class seems to get called only once - on camera bind. My question...
Ares asked 7/6, 2020 at 18:29

9

Solved

The application runs but when i try to use the camera only a disturbed grey screen appears and the logs tab gives me two errors: E/libc: Access denied finding property "vendor.camera.aux.packageli...
Remote asked 5/5, 2019 at 8:46

20

I am trying to use OpenCV 2.4.3.2 to create a camera app and do some opencv processing. I would like it to be able to have multiple UI orientations, not just Landscape. The problem is that when I c...
Incantatory asked 11/2, 2013 at 16:15

4

My Problem is: I've set up a camera in Android and receive the preview data by using an onPreviewFrame-listener which passes me an byte[] array containing the image data in the default android YUV-...
Cloudcapped asked 22/11, 2012 at 9:22

7

Solved

I need to push an intent to default camera application to make it take a photo, save it and return an URI. Is there any way to do this?
Coronograph asked 28/4, 2010 at 12:12

7

Solved

Does anybody know is it possible to open some personal picture when emulator camera starts? I have an application which is based on image analysis and I would like when I click a button for camera...
Amadavat asked 11/12, 2012 at 10:33

3

Solved

Using this piece of code is suggested and it states Notice that the startActivityForResult() method is protected by a condition that calls resolveActivity(), which returns the first activity c...
Stiegler asked 3/6, 2016 at 17:50

5

Solved

I use code below to make a picture with camera. Instead of saving I would like to encode it to Base64 and after that pass it to another API as an input. I can't see method, how to modify code to ta...
Blaspheme asked 23/3, 2016 at 21:59

5

Solved

I am facing this error when I am trying to run a react-native application react-native run-android, I am unable to install the application. I am trying to build a camera application. My current rea...

1

Solved

I want to take a picture with the camera and then send it to another activity. Everything works on the emulator without any problems. But as soon as I try the app on my real device, I always get th...
Commencement asked 23/5, 2022 at 10:10

5

Solved

I'm working on Android and I'm trying to capture a picture without displaying any preview. I tried to simplify the process by making a class. It's working but all the pictures are really really dar...
Perigee asked 10/8, 2015 at 17:34

9

Solved

I'm trying to controlling the Android camera to take pictures in a portrait app, but when I save the picture, it's in landscape. I've rotated the image 90 grades with setCameraDisplayOrientation() ...
Blus asked 4/4, 2013 at 10:32

2

Solved

I recording video using MediaRecorder.When using back-camera,it working fine,but when using front camera,the video captured is being flipped/inverse.Means that the item in right,will appear on the ...
Sisera asked 9/11, 2017 at 9:4

5

Solved

I started cordova Android programming 2 month back. Everything was fine mainly camera that is not working now. But last week some how my project directory got deleted and I reinstall all plugin of ...

© 2022 - 2024 — McMap. All rights reserved.