Google
 

Archive for December 31st, 2007

Filed Under (Uygulama) by mutkanx on 31-12-2007

Ne kadar kolaymış yaa

byte[] buffer = readSomeNMEALine();
String line = new String(buffer);

veya

StringBuffer buff = new StringBuffer ()
while ( (ch = in.read()) != ‘\n’) {
 buff.append((char)ch);
}
String line = buff.toString();