How to Read and Write Data on Android Internal Memory – File

file_androidarena

Hello guyz , today I am going to show you how to Read and Write Data on Android File i.e Internal Memory,When ever we do coding using JSON in Android and we have to load image from server so,we should store it in our internal memory.

So how to use it lets have a look , By using FileInputStream and FileOutPutStream Class we can acheive that .

Download Code

MainActivity.java

 

 

activity_main.xml

 

Now Run the Project , It will Create your File in internal storage and thus you can Read it any time in android.

  • Gurleen Singh

    awesome tutorial , easy !!1 thanxxxx Android Arena