Java tutorial
//package com.java2s; //License from project: Open Source License import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import android.content.Context; public class Main { private static Properties loadPropties(Context context, String file) throws IOException { Properties properties = new Properties(); try { InputStream fileStream = context.getAssets().open(file); properties.load(fileStream); fileStream.close(); } catch (FileNotFoundException e) { } return properties; } }