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-5a16917eb0854490809860/] MainActivity.java [crayon-5a16917eb0863335562674/] 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

Top