Let's continue to enjoy coding to make our world more sweet pleasant and enjoyable. Thanks for everyone who tried to help me for the answer. ![]() Toast.makeText(Recording_Service.this,"Sorry! file creation failed!"+e.getMessage(),Toast.LENGTH_SHORT).show() String file_name=file+"/"+current_time+".3gp" String file_path=getApplicationContext().getFilesDir().getPath() I had found the answer of this question, I used getFilesDir() private MediaRecorder rec So! Please, I need your help guys, if any help, I will appreciate it. Unfortunately what I am doing there, is saving my file on external storage, it means after recording, the file is visible to everyone in a device file explorer, they can even delete the file. Toast.makeText(Recording_Service.this,"Sorry! file creation failed!",Toast.LENGTH_SHORT).show() Rec.setOutputFile(file.getAbsolutePath()+"/"+"_"+current_time+".amr") Rec.setOutputFile() method, so it will be saved as this name:įile.getAbsolutePath()+"/"+"_"+current_time+".amr" It means the value of the outputfile is the one which will be provided by *the file here this one:File file= new File(file_path,file_folder) The codes that I am using to record are here below : private MediaRecorder rec įile_path=Environment.getExternalStorageDirectory().getPath() įile file= new File(file_path,file_folder) ĭate current_time = new Date(Long.valueOf(date)) My main struggle is to be able to save that audio file in internal storage: I took my time to review in my android programming books and read some questions and answers here : How to save an audio file in internal storage android and and but unfortnately things I am getting from there are not settling my problem at all. It is very easy-to-use and displays a clean interface that focuses on its primary capability. The mobile solution targets anyone who wants to create audio recordings on-the-fly. You’ll get access to the same files and folders discussed in the. You can also choose to have your file converted to a different format by clicking on one of the tabs above the slider.The android application I am working on it has an option of audio-recording I want it to save a new audio recorded file in internal storage of a device so that no neither user nor other applications will be able to access to those recorded audio files, unless they open my application. Smart Recorder is a straightforward app that enables users to record audio in high-quality, even in the background, skip silent parts, and share files with friends. Once connected, a notification should pop up on your device select File transfer instead of the default Charging setting. Then you can trim (5), rename (7), or share your recordings (4), which are saved in Documents > Sound recordings. It allows you to store a recorded file in the phones internal. This app is a feature-rich voice recorder. Hit the big Record button (1), and add markers (3) to identify key moments as you record or play (2). Voice Recorder (by Recorder and Smart Apps). Use the slider at the bottom to set the quality of your file. Windows 10 Voice Recorder is an app for recording lectures, conversations, and other sounds (previously called Sound Recorder).Wait until the program uploads your audio or video file.You can upload most audio files, including. On the bright side, the tool lets you upload from a computer, Google Docs/Dropbox and even a link. ![]() Unfortunately, the web tool is not optimized for mobile, so you may have a bit of trouble navigating it. ![]() ![]() Smart clean Auto-remove old recordings to free up space. You will have to access it in a mobile browser, like Chrome or Firefox. Here Is The List Of Apps To Record Phone Calls On Android Voice Call Recording App Best. If you don’t feel like installing an additional app on your Android device, use a web tool instead, such as Audio Converter. If you don’t want to use MP3, MP4 Audio Video Cutter for some reason, another audio compressor app worth trying is MPA Audio Compressor. Find the compressed file in the “Audio” folder. Wait until the process is complete, then check your File Manager.
0 Comments
Leave a Reply. |