Most voted "android-camera" questions
The Android Framework includes support for cameras and camera features available on devices. Using the android.hardware.camera2 or via Intent API, it is possible to capture photos and videos in your applications.
Learn more…46 questions
Sort by count of
-
9
votes1
answer5927
viewsFileuriexposedexception error on Android N
Hello friends I am facing the following error: android.os.Fileuriexposedexception: file:///Storage/Emulated/0/Pictures/1488344088086.jpg Exposed Beyond app through Clipdata.item.getUri(). The…
-
5
votes1
answer2476
viewsPhoto taken by camera returns reversed
Is there any way not to invert the photo after updating it in an Imageview? For example, the application I’m developing accesses the device’s camera and after taking the photo, updates Imageview…
-
5
votes0
answers108
viewsUse camera to measure body part height
I’m designing an app that will measure body parts to see which accessory fits best. I wonder if the camera of a Smartphone has this capability and how to instantiate it in the project
-
4
votes1
answer328
viewsIs it possible to set Android Camera resolution?
I am developing an Android application, and would like to know if it would have how to make my application when calling the camera pass the resolution values of Photo, ex: 1024 X 1024?…
-
3
votes1
answer67
viewsWhat codes to use to zoom in on the camera?
My group is making an app with camera. Only we don’t know what code to use to add zoom into the camera. Does anyone know how to do?
-
3
votes2
answers5650
viewsHow to turn on the camera flash?
I am not able to activate the camera flash to use as flashlight. The code I am running took from tutorials on the internet. package com.getten.home; import android.hardware.Camera; import…
-
3
votes1
answer1397
viewsOpen camera/file by Webview
I made an application to open my responsive site using Webview from Android Studio. Wheel ok, but when I need to send some file through the site, take a photo and save, do not open the camera!…
-
3
votes1
answer79
viewsCamera does not work
I tried to access the camera phone, it worked 3 times, then the screen went black (Print below) in API 24, I tested it on a mobile phone with API 22 and it worked, with API 24 no, someone knows how…
-
2
votes1
answer2587
viewsCamera app stopped working when upgrading from Android 4.0.4 to 4.1.2
I’m new with the platform and I’m having trouble in an app I’m developing, it was working normally on Android 4.0.4 and now that I upgraded to 4.1.2 the following message is displayed: 02-27…
-
2
votes1
answer58
viewsParameter that controls camera brightness on android
I imagine it’s some parameter in Camera.getParameters(), but I’m not sure what to look for. I’ll try one by one, but if anyone knows what it is it’ll save me a lot of time.
-
2
votes1
answer292
viewsCamera appears with black screen. Error fail to connect to camera service
I would like to open the camera, but without the buttons that appear normally, I would like to add my own buttons and assign functionality to them. I looked it up, but I couldn’t find any answers.…
-
2
votes1
answer205
viewsSet photo size taken by phone camera
I would like a help on the image save on android, I have an application that saves the image in the gallery all right, so I would like to set a size and quality for it to be sent to the server, if…
-
2
votes0
answers160
viewsGet URI of a full size photo by Camera on Onactivityresult
I’m using the Android camera to take picture and save it from a Webservice. I managed to do this, but using the method of taking a thumbnail. My intention is to take the image in full size. I…
-
2
votes1
answer1653
viewsResize Images from Camera
I’m working on an application that accesses the photo library and updates an Imageview with the selected photo in the mobile library. I have an LG G2 and my camera is configured by default to take…
-
2
votes1
answer989
viewsCamera problems: Fail to connect to camera service
I have a problem in my application that uses the camera of a device. However, whenever I try to use the Camera.open() he makes an exception java.lang.RuntimeException: Fail to connect to camera…
-
2
votes1
answer816
viewsWorking with camera and gallery
I am with the following problem, in my application I take a photo and present her in a imageView, but when I take the photo she gets the good quality in the gallery imageView no, if it is a text not…
-
2
votes2
answers607
viewsHow to select a database blob and transform into bitmap?
I have the following error in my project, I select an image of the gallery turn it into byte register in the database, but at the moment of loading it to imageView it does not appear and not the…
-
2
votes1
answer3740
viewsCamera permission on Android
I have the following permission to access the camera and store the Androidmanifest.xml file: <uses-permission android:name="android.permission.CAMERA"/> <uses-permission…
android android-camera android-manifest android-permissionasked 7 years, 6 months ago Raphael Prado de Oliveira 1,472 -
1
votes0
answers45
viewsDetect point on screen with device camera
Does anyone know any library or practice to detect a point in the image captured with the device camera? Ex. a white paper with a black dot, then the camera detects this point and gives the…
-
1
votes1
answer610
viewsTake a photo with the Front Camera without using obsolete Apis
I’m developing an app where when you login, you should take a photo! I looked into it and found the following example : public class PhotoHandler implements Camera.PictureCallback { private final…
-
1
votes0
answers134
viewsHow to capture camera image in real time - C#
How would you capture the real-time image of a camera from an android phone for example? I mean, with "real time," it would be like I was analyzing every time the camera was activated for this.…
-
1
votes1
answer583
viewsHow to switch between cameras (Front, Back)?
I’m making a native Android application using the device’s cameras. After I start the first Activity, calling the camera (Back), I created a button, with the function of switching between the…
-
1
votes2
answers742
viewsUse of Android Camera
Good afternoon, guys, I’m new here, so I’m sorry if I’m asking you something I’ve already talked about. Next we have an app in the company already a while ago for sdk 7, what happens is that…
-
1
votes1
answer1332
viewsDoubts regarding the use of the camera, via Intent
Good afternoon everyone, I started an internship a couple of months ago and both this community and the foreign Stack have been my best friends on this new journey. Currently I am developing an app…
-
1
votes0
answers1228
viewsReal-Time Facial Recognition on Android
Good morning! I’m creating a real-time facial recognition app. The app should compare the video image to a recorded image. In virtually all the researches I did the most suitable to be used was the…
-
1
votes2
answers1887
viewsHow do I save an image to a newly created folder by my code?
I am having problems at the time of storing my photo, I create a folder using mkdir and through a string, I take the contents of an Edittext from my application, to give the name of the folder.…
-
1
votes2
answers555
viewsBarcodedetector does not detect barcode and camera does not focus (I have already put the permissions in the manifest)
Good morning, I’m trying to integrate a barcode reader into my application but I’m not getting the camera to detect the barcode, or Qrcode or anything. I also noticed that the camera does not focus,…
-
1
votes0
answers274
viewsCapture photo sequence and save automatically on Android
I am trying to use my android camera in an application so that when taking the first photo I am not redirected to the home screen. Currently the application is as follows: When clicking on "Take…
-
1
votes0
answers32
viewsHow to Capture Android Camera Image?
I’m having trouble opening the camera, which will capture images to take pictures and save them, in Android Studio using emulators. Follow the code below: Cameraactivity.java import…
-
0
votes1
answer449
viewsHow to take photo via services on android?
I need to develop an app to take photos without the user noticing, as in the anti-theft programs that exist today. I need the phone to open the camera app and take a picture when the phone or phone…
-
0
votes1
answer59
viewsDetect absence of light in Android camera
I need to capture the image of the Android camera and detect if the user puts his finger on top (dark). Is there a library that does it simply? Thank you,
-
0
votes2
answers887
viewsCamera orientation with Surfaceview
I’m having a problem using the SurfaceView for a custom camera on Android, I can’t work the camera orientation with the SurfaceView, no matter how I turn the Smartphone it always behaves strangely,…
-
0
votes2
answers896
viewsCustom android camera
I would like to make a custom Android camera in which it was possible to add an extra layer at the time of viewing and later put in the photo when taking the photo, however, I confess that I do not…
-
0
votes0
answers781
viewsRegistering photo on android without opening the camera
I’m developing an android app where I need every time a person logs in the app to register a photo and send it along with authentication. However I can not develop this without the camera phone is…
-
0
votes1
answer1193
viewsPermission Denial: Starting Intent with revoked permission android.permission.CAMERA
Code to call camera public void TirarFoto() { final Random numRandomico = new Random(); String resultado = String.valueOf(numRandomico.nextInt(20)); Intent intent = new…
-
0
votes1
answer211
viewsHow to use Android.Hardware.Camera2 in Xamarin
I’m having a little trouble figuring out how to use it Android.Hardware.Camera2; how the Opencamera() method works and what you enter as a parameter in Availabilitycallback. Can someone help me? if…
-
0
votes1
answer72
viewsTake photo in android application and save in a folder within the project (No drawable for example)
I’m new in android programming and I’m developing a simple project where the user takes a photo of any. Once the photo is taken and the user has confirmed, he wanted to save it in a folder within…
-
0
votes1
answer213
viewsError loading gallery or camera image
I’m having the following error while loading image gallery or smartphone camera. And I can’t find where this error because it only happens on some smartphone models. java.lang.Runtimeexception:…
-
0
votes0
answers69
viewsPhoto taken from Android camera error API 21
When making a photo with android camera my app creates a preview of this photo in an Activity where it will be sent by and-mail, however the code below is working perfectly for android below version…
-
0
votes0
answers65
viewsDetect face in real time without putting the camera video on the screen
Hello, I’m new here, so if you do anything out of the ordinary, I apologize in advance =D I am developing an application for academic purposes whose goal is to improve the user posture during the…
-
0
votes0
answers102
viewsonActivityResult in another class
I am creating an app where I have several camera calls, and I would like to create a class to call the camera to use in the project , well, the call from Activity is being made with the…
-
0
votes0
answers33
viewsAndroid - app stops working when I open the camera
I have a project that there is a form that the user can take a photo to insert, this worked but due to an android update whenever I click the photo button the app to, someone knows what can be?…
-
0
votes1
answer504
viewsCan SSL Certificate be by IP instead of Domain?
I am developing a php/javascript application that makes use of the camera via browser to read barcode, in the tests I did locally works well, when I put online it does not open the camera and nor…
-
0
votes0
answers26
viewsHow to call the camera instead of the webview (php) application gallery in android studio?
My code works to call the gallery, but I need instead of the gallery it open the camera first with gallery option. Follows code below import android.app.Activity; import android.content.Intent;…
-
-1
votes1
answer22
viewsCapture images simultaneously on two USB cameras at regular intervals on Android
Hello I would like some tips on how to develop on Android an application for capturing simultaneous photos at regular intervals, from two USB cameras (MJPEG M12 Lens AR0330 Dual Stereo Micro Mini…
-
-1
votes1
answer85
viewsAndroid permission when using Cameraroll to save photo in gallery using React-Native
I’m creating a wallpaper app, but the most important part is the download button I can’t make it work, I’m using Touchableopacity and inside create the function <TouchableOpacity onPress={ async…