C
C
Che_Bu_Rashka2016-01-18 12:37:41
Android
Che_Bu_Rashka, 2016-01-18 12:37:41

Where to store pictures taken in the application, so that the user would not delete them?

My application takes pictures, which I then send to the server. I noticed that users' snapshots disappear periodically, but the user himself cannot delete them, because they are in the cache:
data / data / <APPLICATION> / cache

String tmpDir = System.getProperty("java.io.tmpdir", ".");

Why does this happen and where is it better to store pictures so that the user cannot delete them and no program has done this either, (ClearMaster)? I chose the cache precisely because of the desire to hide the pictures from the user himself, he can see them in the program itself.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Che_Bu_Rashka, 2016-01-18
@Che_Bu_Rashka

Is that how it's done? Well, that is, is it correct in android?

A
Andrey, 2016-01-18
@VladimirAndreev

if the device has passed the receipt of the root, then you can’t hide the pictures.
yes and why? just imagine, you don’t have enough memory, you want to clean it up, and then some figure muddied this “feature”

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question