brownemint / Ti-Android-CameraView

MIT License
23 stars 15 forks source link

File delete #14

Open mrtomnguyen opened 8 years ago

mrtomnguyen commented 8 years ago

how is the cache image file managed? e.path.deleteFile() is not working.

brownemint commented 8 years ago

The module saves the picture in the External Storage Public Directory and returns the path to the picture as a string.

deleteFile() is not a method I provide, it is part of the appcelerator main code. If you can access, and display the picture using the filePath, you should be able to delete it too. If you can't, verify you can create other files in the External Storage Public Directory and delete them. The problem you are experiencing may have nothing to do with this module.

mrtomnguyen commented 8 years ago

ok thanks. maybe its just the emulator. will do more tests.