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-65cf00299f012998187217/] MainActivity.java [crayon-65cf00299f019279011900/] Screen Shot Download Android Studio Project
Tag: Marshmallow
Reading & Writing File in Android
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