package com.anyun.exam.lib.util; import android.content.Context; import java.io.InputStream; import java.util.Properties; public class ProperUtil { public static Properties getProperties(Context c){ Properties props = null; try { InputStream in = c.getAssets().open("appConfig"); if (in != null) { props = new Properties(); props.load(in); in.close(); } } catch (Exception e1) { // TODO Auto-generated catch block } return props; } }