you have to avtivate your SPP : serial port protocol service if you look to the code more carefully you will notice that your UUID :1101 that is a SPP ID , so when you add a new device in your bluetooth shoose from the properites to active SPP service which is FTP file transfet protocol , then you can get a file from the client
you can active more than services the btspp protocol have many services
look at this UUID :
private static final UUID[] searchUuidSet = new UUID[] {
// new UUID(0x0001), // SDP
// new UUID(0x0003), // RFCOMM
// new UUID(0x0008), // OBEX
// new UUID(0x000C), // HTTP
new UUID(0x0100) // L2CAP
// new UUID(0x000F), // BNEP
// new UUID(0x1101), // Serial Port /// ssp taba3naaa ..
// new UUID(0x1000), // ServiceDiscoveryServerServiceClassID
// new UUID(0x1001), // BrowseGroupDescriptorServiceClassID
// new UUID(0x1002), // PublicBrowseGroup
// new UUID(0x1105), // OBEX Oject Push
// new UUID(0x1106), // OBEX File Transfer
// new UUID(0x1115), // PAN
// new UUID(0x1116), // Network Access Point
// new UUID(0x1117), // Group Network
String url = servRecord[i].getConnectionURL(ServiceRecord.NOAUTHENTICATE_NOENCRYPT,
false);
//Later, after service discovery is complete, I attempt to connect like this:
Connection connection = Connector.open(url);
don't foget to add the url , if you forget it , it will be null and the spp service will not activate