Questions tagged as 'android-camera'

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

Use the camera to measure the height of the body part [closed]

I'm designing an app that will measure body parts to see which accessory fits best. I would like to know if the camera of a Smartphone has this capability and how to instantiate it in the project     
asked by 08.11.2016 / 13:10
1
answer

Is it possible to set Android Camera resolution?

I'm developing an Android application, and would like to know if I could have my application when calling the camera pass the resolution values of Photo, eg: 1024 X 1024 ?     
asked by 17.07.2014 / 13:41
1
answer

Photo taken by the camera returns inverted

Is there any way I can not 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 picture, updates the ImageView with the photo reversed. I wanted to leav...
asked by 13.01.2015 / 13:43
2
answers

How do I turn on the camera flash?

I can not activate the camera flash to use as a flashlight. The code I'm running has taken from tutorials on the internet. package com.getten.home; import android.hardware.Camera; import android.os.Bundle; import android.support.v7.app.Action...
asked by 01.09.2015 / 01:50
1
answer

Camera does not work

I tried to access the camera from the phone, it worked 3 times, then the screen went black (Print below) in API 24, I tested it on a cell phone with API 22 and it worked, with API 24, This? public class fotos extends AppCompatActivity { s...
asked by 17.04.2018 / 06:14
1
answer

What codes to use to zoom in on the camera?

My group is doing a camera app. We just do not know what code to use to zoom in on the camera. Does anyone know how to do it?     
asked by 04.08.2015 / 17:58
1
answer

Resizing Camera Images

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 set by default to take photos with the resolution 4160x2340. If I select a pho...
asked by 15.01.2015 / 19:05
1
answer

Set picture size taken by phone camera

I would like a help with saving image in android, I have an application that saves the image in the gallery all right, so I would like to define a size and quality for it to be sent to the server, if someone has a code that can help me.     
asked by 20.09.2016 / 18:38
1
answer

Camera appears with black screen. Error fail to connect to camera service

I'd like to open the camera, but without the buttons that appear normally, I'd like to add my own buttons and assign features to them. I searched but found no answer. The buttons I'm going to add will only redirect to another activity, it's n...
asked by 20.08.2016 / 18:00