I am working on Sdcard Dignostics functionality.I need to perform sdcard read and write functionality in kitkat and lollipop device.There is no direct way to perform read and write in kitkat and lollipop.
But i am able to do this in kitkat following way:
-->Adb shell mkdir stoare/extSdCard/Android/data/com.sample.demo(your package name)
Then we can perfrom read write operations in com.sample.demo folder.
For lollipop using DocumentFile class we can perfrom read and operations for this we need user interaction.
Now my problem is with out user interaction we need to perform read and write,can you please infrom any alternate way like above kitkat procedure.
Thanks in advance