📜  链接到位图 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:47.244000             🧑  作者: Mango

代码示例1
try {
        URL url = new URL("http://....");
        Bitmap image = BitmapFactory.decodeStream(url.openConnection().getInputStream());
    } catch(IOException e) {
        System.out.println(e);
    }