// Open a connection and wait for client requests
final SessionNotifier sessionNotifier =
(SessionNotifier) Connector.open("btgoep://localhost:"
+ uuid + ";name=" + SERVICE_NAME_OPP);
updateStatus("[SERVER] Waiting for Client to connect...");
sessionNotifier.acceptAndOpen(new ObexServerRequestHandler());
} catch (final IOException ioe) {
BluetoothJSR82Demo.errorDialog(ioe.toString());
}
}
}