Java tutorial
//package com.java2s; import android.content.Context; import java.io.InputStream; import java.util.Properties; public class Main { public static Properties getProperties(Context context) { Properties props = new Properties(); // InputStream in = Utils.class.getResourceAsStream("/gewara.properties"); try { InputStream in = context.getAssets().open("gewara.properties"); props.load(in); } catch (Exception e) { e.printStackTrace(); } return props; } }