InputStreamは以下のコードでゲット出来る。
InputStream inputStream = getResources().openRawResource(R.raw.test);
int rawID = R.raw.class.getField("text").getInt(null);
InputStreamは以下のコードでゲット出来る。
InputStream inputStream = getResources().openRawResource(R.raw.test);
int rawID = R.raw.class.getField("text").getInt(null);