thank you very much for the reply. now the project i am doing is such that the nxt brick will connect to a bluetooth GPS and obtain the NMEA sentences. Parse the lat long and altitude from that and send the data over bluetooth connection to a java midlet running on a mobile phone. But since the indexOf() method of the String class has not yet been included in the release I have downloaded I am getting many class reference problems. So I decided to just obtain the stream of NMEA sentences from the NXT to my mobile phone and let the java midlet do the parsing out of lat long and altitude info. Please suggest what I can use to establish the connection between the NXT brick and the java midlet on the mobile phone and transfer this stream of NMEA sentences collected.? I appreciate your help.