摘要:
第一种方法: 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
志强思密达
阅读(254)
评论(0)
推荐(0)
浙公网安备 33010602011771号