Hi,
Everyone.I'm a rookie in symbian field.I want to connect different type phones use bluetooth.I connect two symbian phones use bluetooth advertiser,bluetooth device search,bluetooth service serach and it works well.But when I'd like to find a service in an android phone,I couldn't find the service in fact it is existed.The problem has trouble me several days.What can I do?Are there some methods to construct a socket use UUID just like Android?
this are android codes to connect two phones
Android 2.0 bluetooth connection
service:
UUID uuid = uuid.fromString(“27648B4D-D854-5674-FA60E4F535E44AF7″); //generate your own UUID at http://www.uuidgenerator.com
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
BluetoothServerSocket serverSocket = adapter.listenUsingRfcommWithServiceRecord(“MyBluetoothApp”, uuid);
BluetoothSocket socket = serverSocket.accept(); // blocks until a connection is accepted
serverSocket.close(); // close the listening socket – does not close the connected client socket
client.
UUID uuid = uuid.fromString(“27648B4D-D854-5674-FA60E4F535E44AF7″); // UUID of server socket
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
BluetoothDevice device = adapter.getRemoteDevice(“00:11:22:33:44:55″); // BT MAC address of server
BluetoothSocket socket = device.createRfcommSocketToServiceRecord(uuid);
adapter.cancelDiscovery();
adapter.connect(); // blocks until connection established






