/** * Loads the content from the given asset */ public static InputStream asset(String name) { return AndroidResources.asset(RuntimeEnvironment.application, name); }
/** * Loads the content from the given raw resource */ public static InputStream rawRes(@RawRes int resource) { return AndroidResources.rawRes(RuntimeEnvironment.application, resource); }