Tag Archives: File Contents

Shell Script to find the count of words in a file with no Vowels.

By | July 9, 2016

Below is the sample program that displays the count of words from a file that doesn’t contain any vowel in it. First create a script file using terminal. Open terminal and go to your desired folder and type in the command line. vi my_script This will create a script file named “my_script” in your current… Read More »

How to read and write files to SDCARD and application SandBox in Android – A complete example?

By | September 6, 2012

Here is a complete example of How to read and write files to SDCARD and application SandBox in Android. First create a new project and inside the mainActivity paste this code. Now create another class named MyFile.java and copy this code into it. Now the layout for the xml file. Note you should give this… Read More »

How to read and write a text file that is stored in your application sandbox in ANDROID?

By | April 22, 2012

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 »