String CONF_FILE_NAME = "config.json";
String json = null;
InputStream is;
mContext.getAssets().open(CONF_FILE_NAME);
int size = is.available();
byte[] buffer = new byte[size];
is.read(buffer);
is.close();
json = new String(buffer, "UTF-8");
Log.d("tag", json);
댓글 없음:
댓글 쓰기