recentpopularlog in

adrianoconnor : network   11

Connecting to the Network | Android Developers
public String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException {
    Reader reader = null;
    reader = new InputStreamReader(stream, "UTF-8");        
    char[] buffer = new char[len];
    reader.read(buffer);
    return new String(buffer);
}
android  java  network  networking  request  http  sdk 
march 2015 by adrianoconnor

Copy this bookmark:





to read