2010年12月29日
摘要: Using Google Maps in Android这是上文总结翻译 阅读全文
posted @ 2010-12-29 11:20 dartagnan 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1. 从网络获取图片/** * 获取网络图片 * @param path 网络图片路径 * @return * @throws Exception */ public static byte[] getImage(String path) throws Exception{ URL url = new URL(path); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setConnectTimeout(5 * 1000); conn.setRequestMethod("GET" 阅读全文
posted @ 2010-12-29 10:08 dartagnan 阅读(1466) 评论(2) 推荐(1) 编辑