Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
70 views

Basically... I am writing a script on termux(in case you don't know it, it would be basically the same than a script for adb) and I need to take and store a photography. I tried to start "android....
Lucastegano X's user avatar
0 votes
0 answers
75 views

:) Basically I am writing a termux bash script to take care of my purchases in real life. And rn I am trying to automatically ask for a photo of a grocery ticket if the program detects the purchase ...
Lucastegano X's user avatar
1 vote
1 answer
344 views

I am using an onfido link inside webView for accessing camera, I have granted the permissions but the camera is not working and giving logs as "Access denied finding property 'vendor.camera.aux....
Vanisha Gaba's user avatar
2 votes
1 answer
166 views

I'm doing some maintenance on an internal app that is run on a fleet of old Galaxy Tab 2 devices running Android 9. The app has some basic code that does a plain vanilla launch of the ...
Mick Byrne's user avatar
  • 14.6k
0 votes
1 answer
543 views

I am capturing the image to transform it into a square of a certain size. When I capture an image using different phones, in some of them the image captured is the same as the image shown in the ...
Lal Bihari Pandey's user avatar
1 vote
1 answer
1k views

When image bitmap is low quality I am able to load and display the image with coil but when image bitmap is very high quality the screen doesn't show anything and pressing back lets to crash the app. ...
Jeevan Rupacha's user avatar
0 votes
1 answer
1k views

I am making this camera app where I take the picture and upload to server. But after captured image that I am getting very low quality. Can we specify the image quality here? val cameraLauncher = ...
Jeevan Rupacha's user avatar
3 votes
1 answer
632 views

The Xamarin Essentials MediaPicker function to capture with camera using the CapturePhotoAsync runs correctly on the emulator but behaves differently when a mobile phone is connected to debug the ...
Victor's user avatar
  • 33
0 votes
0 answers
78 views

I want to capture image on button click and display the same image in another activity. The below code is capturing image but displaying in the same activity. How can I take image to next activity? ...
Abm's user avatar
  • 311
0 votes
1 answer
125 views

I want to capture an Image and a Video using the CameraX library. By following the documentation i have no problem implementing the preview and the capture use cases. The code i use is the following. ...
james04's user avatar
  • 1,968
1 vote
2 answers
2k views

I am trying to capture photos in my app using standard camera app intent (I am NOT interested in using JetpackX or other library to have a viewfinder in my app). When I had the code in my Fragment ...
zaitsman's user avatar
  • 9,590
2 votes
0 answers
129 views

This question is a bit on the broader side of things so I will not provide any specific code because it will be irrelevant. I have an app that allows the user to take photos, and hopefully videos in ...
user3917631's user avatar
0 votes
0 answers
605 views

I have been struggling with the issue of having my activity being destroyed sometimes while taking a picture with the camera app., resulting in the below error and an app crash. java.lang....
Mena's user avatar
  • 3,455
0 votes
0 answers
149 views

I found that on some devices the app gets bugged after taking a photo in landscape mode. My App is designed to be only in the vertical (portrait) mode, this is stated both in the manifest and in the ...
Jara M's user avatar
  • 125
0 votes
0 answers
165 views

I have made an android app to capture image from the default camera, and then compress it using bitmap.compress() and then upload it to my MySQL database using PHP. Now the issue is, using Bitmap I ...
Meet Sheth's user avatar
0 votes
0 answers
403 views

I am building an Android app that includes collecting customer data in different categories ,in different screeens(Activities). The data entered by the user(all input fields) are stored in Global ...
Amrutha Desai's user avatar
3 votes
0 answers
2k views

I'm trying to take a photo using Intent(MediaStore.ACTION_IMAGE_CAPTURE) and save it to the external cache. Before starting the Activity I ask for CAMERA, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE ...
Andrii's user avatar
  • 41
1 vote
0 answers
275 views

This is my line code that I use to save pictures from camera and gallery on device: Camera Intent: private void abrirCamera() { ContentValues values = new ContentValues(); image_uri = ...
Cristian Gustavo's user avatar
0 votes
1 answer
578 views

I use Android CameraX in my application for taking photos. When I capture a photo, I can either use the ImageCapture.OnImageCapturedCallback or the ImageCapture.OnImageSavedCallback according to the ...
gabhor's user avatar
  • 799
4 votes
0 answers
1k views

I need to make a copy of "android.media.Image" object for a solution, but since the class is defined abstract we can not make instances of it ourselves. I am getting my instance of this ...
Rohit's user avatar
  • 546
0 votes
0 answers
52 views

I am currently using the following code here: val cameraRequestCode = 1 val cameraPermissionCode = 1 var imageUri : Uri? = null @RequiresApi(api = Build.VERSION_CODES.M) override fun onActivityResult(...
Kellin Strook's user avatar
4 votes
3 answers
1k views

I am using android custom camera to captured JPG images, But not able to preview them on windows photo viewer. Can anyone please advise. Images are visible using other applications like Ms Paint, ...
Vishal Pawar's user avatar
1 vote
0 answers
3k views

I am trying to have a workaround with Google's Camera API - CameraX, because older devices do not support multiple use cases (ImageCapture and VideoCapture). So i want to take a picture capturing ...
areyouSEARious's user avatar
1 vote
1 answer
4k views

I am trying to implement taking a photo from a camera on a project that targets Android Q. From what I have found, I have implemented this: val mediaFile = mediaManager.createImageFile() // creates a ...
Sermilion's user avatar
  • 2,058
0 votes
0 answers
237 views

I'm trying to get an Image from the Camera and external storage. Then Send it to crop then save the image on the server. Other devices like Note 7 Pro and Samsung -G920F works fine with this code But ...
Tej Patel 's user avatar
1 vote
2 answers
613 views

I am using Android's default camera to capture my intent. The images that come out are of really good quality and I cannot seem to find a way to lower the quality of the images. Is that even possible ...
Richard's user avatar
  • 1,117
0 votes
1 answer
2k views

I am facing an issue which I do not understand. I am taking a picture then creating a PNG image file as per code that follows but somewhere down the line a random string is being added to the filename ...
Fabrizio Mazzoni's user avatar
1 vote
0 answers
241 views

I have 2 buttons: on 1 button I can take pictures on the other button I can select pictures from the gallery. The problem is when I take a picture it is displaying it, but when I take a another ...
Number70's user avatar
  • 453
1 vote
0 answers
96 views

I've used the sample code from Google to implement a custom camera using Camera2 API. I want to display the captured image in the next activity. Camera2Basic sample code However, I'm unable to ...
Vaishnavi Killekar's user avatar
0 votes
1 answer
444 views

I am using camera2 api to capture images in my android application. When i am clicking on button to capture image it clicks multiple images on just one click. This issue happens only on few devices. ...
Keval Shukla's user avatar
0 votes
1 answer
1k views

In my android application , i am capturing image from camera and load it with glide. In some devices it is working properly but some devices like LG Q6 , MI note 4 it doesn't load properly. Please ...
Keval Shukla's user avatar
1 vote
1 answer
595 views

I'm using the library Android-Image-Cropper (which is great!) and there's something I can't quite understand. I'm using the library for profile picture add/update using camera of from local ...
Tomer Petel's user avatar
0 votes
1 answer
352 views

I'm trying to get an image capture from the front or back camera of my smartphone using the WebRTC. I used one of WebRTC samples for that. This code works perfectly in browsers on the computer, but on ...
deralbert's user avatar
  • 1,101
0 votes
0 answers
255 views

I am trying to capture image from camera .i have a code which is working fine all the devices except android marshmallow device. which returns the results to gallery recent folder. I have checked ...
sam's user avatar
  • 226
1 vote
1 answer
335 views

I try to take photo from camera with mobile vision library but taken image's qualities are low (Resolution 240x320) I don't know where I should modify this feature(I guess it is related with ...
Melih's user avatar
  • 33
0 votes
2 answers
583 views

I am trying to set a image as profile picture on image view after capture using camera. image capturing is working fine and image is stored in device memory. But on onActivityResult code intent object ...
Vineeth Mohan's user avatar
1 vote
4 answers
3k views

In Android the Camera action show a error: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE cmp=android/com.android.internal.app....
Vineeth Mohan's user avatar
-2 votes
1 answer
246 views

I am new to android development. This is a test app through which I am trying to invoke an image to my activity. Everything seems fine except when I am returning the camera Image in onACtivityResult()...
Nilabhra Chakraborty's user avatar
1 vote
2 answers
1k views

I'm trying to read an image from an ImageReader set to a particular resolution (obtained from CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP of course), but the ImageReader.acquireLastestImage ...
Roy Shilkrot's user avatar
  • 3,783
1 vote
1 answer
46 views

I was just trying to write a code to capture an image and save that image in default directory with a name test.jpg. My device do capture the image but it runs the else part of the test case and shows ...
adnan_aust's user avatar
0 votes
1 answer
34 views

I have an app that take pictures from camera or gallery and shows the result in an imageview. I only get the image with content provider and use this scale function public Bitmap scaleim(Bitmap ...
AndreaF's user avatar
  • 12.5k
0 votes
4 answers
487 views

I am trying to make image selector for application.For that i am using multi-image-selector library which is perfeclty works when used in activity ,but here i want to use it in fragment.so in fragment ...
Chirag's user avatar
  • 27
0 votes
1 answer
706 views

I have two imageView size an relativelayout. Both images will be loaded programmatically and I want to set the size of the relativelayout equal to the size of imgBackground. How can I do that? I tried ...
Julia's user avatar
  • 1,419
0 votes
1 answer
452 views

Is it possible to take a picture and get the image as byte array without saving it? All I want is, take an in memory picture. I don't want to save it. Also i plan to use other camera activity to take ...
Jahid Shohel's user avatar
  • 1,495
0 votes
0 answers
52 views

Hi I am using custom camera view in my application, It was working fine in some devices, but in 1+3t device it's capturing only a portion of the screen. I've searched a lot but couldn't get the answer....
Uma Achanta's user avatar
  • 3,739
1 vote
3 answers
6k views

I have tried everything I could find by researching. Nothing is working. I have an Activity with a FragmentDialog. In this dialog, I have an image view with a button. When this button is pressed, an ...
LizG's user avatar
  • 2,560
1 vote
4 answers
2k views

I am trying to capture image from camera. But it returns null Intent onActivityResult . Here is my code CaptureImageFromCamera.setOnClickListener(new View.OnClickListener() { @Override ...
Raksha Deshmukh's user avatar
0 votes
4 answers
3k views

The Taking Photos Simply Documentation recommends to store image taken with device camera as "should be saved on the device in the public external storage". But how to do this? The provided example ...
georgij's user avatar
  • 2,260
0 votes
0 answers
33 views

Hello I am trying to make an app and I need to differentiatie if a photo has been tanken forn the internal or external camera of my smartphone. I need this because my smartphone rotates the photos in ...
Camperiko's user avatar
3 votes
4 answers
4k views

I want the user to be able to quickly open the default camera app (or one they have set as default) in my app. However, I do not want to use android.media.action.IMAGE_CAPTURE, as this will only show ...
pancodemakes's user avatar