其中String downloadUrl = "http://abv.cn/music/光辉岁月.mp3";
URL url = new URL(downloadUrl);
Log.d(TAG, "download file http path:" + downloadUrl);
URLConnection conn = url.openConnection();
int fileSize = conn.getContentLength();
System.out.println("----------connection--fileSize"+fileSize);
有没有大牛知道是怎么回事?