You are here
Home > Posts tagged "Marshmallow"

Creating Audio Recorder in Android

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-5c98b20c0ba31635265439/] [crayon-5c98b20c0ba3b407097270/] Screen Shot Download Android Studio Project

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