摘要: 第一种方法: 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 阅读全文
posted @ 2011-12-17 09:36 志强思密达 阅读(246) 评论(0) 推荐(0) 编辑