Android: Reading From a Properties File

September 21, 2012

Copy the file that you want to read from in the assets folder of your project

and use the following code to read

AssetManager am = c.getAssets();
inpStream = am.open(“x.properties”);
props.load(inpStream);

NOTE: I had a properties file and read it into the Java Properties object