发布时间: 2017-08-12 07:22:00
如题.
在 fragment中读取 assets:
InputStream inputStream = null; try{ inputStream = getActivity().getAssets().open("sc_icon.png"); }catch (IOException e){ e.printStackTrace(); } return new WebResourceResponse("image/png", "utf-8", inputStream);Back