This method is deprecated AFAIK http://developer.android.com/reference/java/io/DataInputStream.html#readLine%28%29