2014-06-19 110 views

回答

1

像這樣的東西會做:

URL url = new URL("http://youraudiourl"); 
HttpURLConnection huc = (HttpURLConnection) url.openConnection(); 
int responseCode = huc.getResponseCode(); 
if(responseCode == 200){ 
    // your audio file exists 
} 
相關問題