A
A
Arthur2013-01-01 19:24:25
Java
Arthur, 2013-01-01 19:24:25

What is the best way to take photos?

I am making a small android application. In which I make a request to get a picture from any existing camera application.
The mechanics of this involves passing the uri to the camera app. The main question is, should we pass the uri to a non-existent file, or should we pre-create the file first and pass the uri from it?
Basic requirements: there should be no dependence on the sd card, in case of absence, the recording will go to the internal storage, and there should be no garbage left.
Hence the additional question: what is the best way to clean up garbage if you create a temporary file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shadowspok, 2013-01-02
@shadowspok

what is wrong with the description of the process of taking pictures developer.android.com/training/camera/photobasics.html ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question