Questions tagged as 'android-camera'

1
answer

How to use Android.Hardware.Camera2 in Xamarin

I'm having some difficulty understanding how to use it    Android.Hardware.Camera2; How the OpenCamera () method works and what goes in as a parameter in AvailabilityCallback. Can someone help me? if (Android.OS.Build.VERSION.SdkInt...
asked by 16.11.2017 / 13:15
1
answer

FileUriExposedException error on Android N

Hello friends I'm facing the following error:    android.os.FileUriExposedException: file: ///storage/emulated/0/Pictures/1488344088086.jpg exposed beyond app through ClipData.Item.getUri (). The intention is to open the camera, hit a pho...
asked by 01.03.2017 / 06:04
0
answers

Android Camera Calibration Algorithm

Good evening, I'm new here .. I'm sorry if this question has already been asked, it's that I could not find anything about it ... without further ado, let's ask the question. Well I've been looking for an algorithm for Camera calibration, but s...
asked by 24.02.2017 / 04:28
2
answers

BarcodeDetector does not detect barcode and camera does not focus (I have already put the permissions on the manifest)

Good morning, I'm trying to integrate a barcode reader into my application but I can not get the camera to detect the barcode, or QRCode or anything. I also noticed that the camera does not focus, this may be what is causing the problem but I...
asked by 31.01.2017 / 13:08
0
answers

Registering photo in android without opening the camera

I'm developing an android application where I need every time a person logs in the application to register a photo and send it along with the authentication. But I can not develop this without the camera on the phone being activated, I need t...
asked by 26.12.2016 / 11:54
0
answers

Detect face in real time without placing camera video on screen

Hello, I'm new here, so if you do something non-standard, I apologize in advance = D I am developing an application for academic purposes whose goal is to improve the user's posture while using the Smartphone. For this, I use the acceleromete...
asked by 11.11.2016 / 18:11
0
answers

Photo taken from camera Android API error 21

When taking a photo with the android camera my app creates a preview of this photo in an Activity where it will be sent by email, however the code below is working perfectly for the android below version 4.4.1 and above it in the moment to captu...
asked by 13.10.2016 / 16:59
1
answer

Permission Denial: starting Intent with revoked permission android.permission.CAMERA [duplicate]

Code to call camera public void TirarFoto() { final Random numRandomico = new Random(); String resultado = String.valueOf(numRandomico.nextInt(20)); Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); File phot...
asked by 07.04.2016 / 19:36
1
answer

Error loading image from gallery or camera

I'm having the following error while loading image gallery or smartphone camera. And I can not find where this error because this only happens in some models of smartphones.    java.lang.RuntimeException: Unable to resume activity   {br.com.c...
asked by 16.06.2016 / 20:22