摘要:
Using Google Maps in Android这是上文总结翻译 阅读全文
摘要:
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" 阅读全文