Questions tagged as 'android-camera'

1
answer

Detect absence of light on Android camera

I need to capture the image from the Android camera and detect if the user places their finger on top (dark). Is there a library that does this simply? Thanks,     
asked by 23.10.2015 / 19:57
1
answer

How to take photo via services in android?

I need to develop an app to take pictures 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 is alerted that it has been stolen. How...
asked by 05.03.2014 / 14:56
0
answers

Use the same name in another app in the store

I removed an app from my Google Play console account and it is now unavailable at the store - name is Black Ops fx. (I removed it in popular language and is no longer available) But I'd like to use the same name in a new app, can I? I m...
asked by 10.11.2018 / 22:32
0
answers

Hexadecimal for Color Name

I have my final project to present this Monday, and it's an android app made with Android Studio. My app captures colors with the camera and returns a value I have already created an XML file with more than 1000 colors with their names and...
asked by 14.07.2018 / 20:35
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
1
answer

Take photo in the android application and save to a folder inside the project (No drawable for example)

I'm new to android programming and I'm developing a simple project where the user takes any photo. Once the photo is taken and the user has confirmed it, I would like it to be saved in a folder within the project itself (perhaps in the drawable...
asked by 31.05.2018 / 19:00
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

Why, sometimes, the URI passed in EXTRA_OUTPUT is null in onActivityResult?

A variable is declared at the beginning of the class: private Uri UriPhoto; When the user selects the button to take the photo the function below is called: public void takePicture() { try { File localFile = new File(this.dirF...
asked by 19.04.2018 / 14:48
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

onActivityResult 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 activity call is being made with the activityforresult in this class, the photo is captured when retur...
asked by 18.02.2018 / 17:49