Calling Ti.Media.showCamera without overlay and saveToPhotoGallery set to false, fills the appdata directory with orphan pseudo-temporary files.
When you use Ti.Media.showCamera without overlay, it calls
Then, in launchNativeCamera method, it creates imageFile variable (MediaModule.java line 231)
Well, in both cases the code ends calling
This method creates a temporary file using the following code (MediaModule.java line 630)
Well, the last argument in getTempFile method is destroyOnExit. TiFileHelper uses this flag to decide wether to include or not the resulting file in an ArrayList<File>. All files included in this list will be deleted after execution (see line 860 in TiApplication.java, method dispose).
Ok, this is not very important as later, in MediaModule, in line 805, when processing the onResult event, the temporary file is deleted:
So, the first temporary file created is deleted after have being copied, but then it's never deleted.
You can check your appdata directory from the app and each time a photo is taken, a new "tiaxxxxxxx.jpg" file is created and never deleted. The app data size is always growing up.