?? ?1)Url url = new Url(url);?????2)獲取httpconnection連接對象:Httpconnection conn = url.openconnection();?????3)獲取字符流:inputStream in = new BufferedinputStream(conn.getInputStream());inputStream是個抽象類,通過實例化子類獲取BufferedinputStream的對象。
樓上正解,具體是:1,創建項目,把圖片導入到res下的drawble-xhdpi文件夾中,2,res目錄下新建anim文件夾,Resource Type 選擇Drawable, ?Root Element選擇animation-list,如下圖:<...圖片...>3,在animationxml中...