Creating Audio Recorder in Android Android Java by Rajesh Kumar Sahanee - June 9, 2016February 13, 20200 Hello Friends, Today I am going to share audio recording code in android. This code will work on latest version of android (Marshmallow) also. In this code we are going to use MediaRecorder class to record audio and MediaPlayer class to play recorded audio. activity_main.xml [crayon-69403720bca89570533334/] MainActivity.java [crayon-69403720bca95711613158/] Screen Shot Download Android Studio Project
Reading & Writing File in Android Android by Rajesh Kumar Sahanee - April 13, 2016September 12, 20170 Hello Friends, Today I am writing this post to share that how to read and write file to external storage in Android. In the latest version of android Marshmallow, we cannot read and write file directly in external storage even we declare permission in manifest file but in lower version