Your phone's memory is low - error message on my android application using camera
"Your phone's memory is low" notice appears on my Android application (java), which uses a custom camera, at random. Is there a way for Android to catch this issue.I need to handle this without user interaction within my programme. Any Java method to find this? I experimented with deleting the cache after an action(on destoy,cleared cache). But that doesn't resolve the problem.