摘要:
第一种方法: String path = "file:///android_asset/文件名";第二种方法: InputStream abpath = getClass().getResourceAsStream("/assets/文件名");若要想要转换成String类型String path = new String(InputStreamToByte(abpath )); private byte[] InputStreamToByte(InputStream is) throws IOException { ByteArrayOutputStr 阅读全文