Tag Archives: Java String
How to read and write a text file that is stored in your application sandbox in ANDROID?
Hi all….. In this post I will show you how to read a text file in ANDOID. Let your file is in the your application sandbox of your ANDOID project, i.e the file’s location is /data/data/your_package_name folder. To view this folder -> open File Explorer and expand each folder. For this example to work first… Read More »
How to read a folder in the assets directory and read files from it in android?
File reading is important in android. For the put the files in the assets folder. We can able to read foldername filename Contents of the file First we read the name of the folder. “folder_array” contains all the names of the folder Then if the path is set to Then the list of file name… Read More »
Load html string into WebView in android
This sample code helps you to load html from a string and from a file into webview in ANDROID.