cosa vuoi che ti dica???

cmq questo è il codice

codice:
    private UUID RFCOMM_UUID = new UUID("5555",false);
    private String strUrl;
    private LocalDevice localDevice = null;
    private StreamConnectionNotifier streamNotifier = null;
    private StreamConnection streamConn = null;
    private InputStream inStream = null;
    private OutputStream outStream = null;

public GameServer(GameInterface gioco){

       try{
                localDevice = LocalDevice.getLocalDevice();
                localDevice.setDiscoverable(DiscoveryAgent.GIAC);

                strUrl= "btspp://localhost:10203040607040A1B1C1DE100;name=rfcommtest" ;
                streamNotifier = (StreamConnectionNotifier)Connector.open(strUrl);

                streamConn = streamNotifier.acceptAndOpen();
                outStream = streamConn.openOutputStream();
                inStream = streamConn.openInputStream();
            }catch(Exception e){
                System.out.println(strUrl);
                e.printStackTrace();
            }
}
è roba che ho trovato in giro