Issue
I am developing audio recording application in Android studio, everything is going good but I want to cancel recording at run time if user do not want to continue recording, when user click cancel button then recording should cancel and didt save in mobile device, any help will be highly appreciated, thanks in advance.
Solution
I wanted to cancel recording at run time while saving in device. This is possible when we first store our file in database then into device, if file saves directly into device then it is not possible to cancel or rename at runtime.
Answered By - Marwat