well the code i have is here: (But a bit more spread out than this..) I get errors like "cannot find symbol "uuid" : class uuid " and "non-static method method selectService cannot be referenced from a static context"
I think this is less to do with the code and more to do with the placement of the code, hence why i put the full .java in there.. If u can open the project in Netbeans it becomes VERY clear where the problem lies.
Code:
import javax.bluetooth.*;
private static final String uuidString = "00112233445566778899AABBCCDDEEFF";
/** This method initializes UI of the application.
*/
private void initialize() {
UUID uuid = new uuid(uuidString, false);
String url = DiscoveryAgent.selectService(uuid, NOAUTHENTICATE_NOENCRYPT, false);
getDisplay().setCurrent(get_LoadingScreen());
// Insert post-init code here
}