java - Install JSR-82 on eclipse -
i'm using eclipse ide java developers , want run piece of program can't :/
import javax.bluetooth.*; import javax.microedition.io.*; import com.atinav.bcc; public class wirelessdevice implements discoverylistener { localdevice localdevice = null; public wirelessdevice (){ //setting port number using atinav's bcc bcc.setportname("com1"); //setting baud rate using atinav's bcc bcc.setbaudrate(57600); //connectable mode using atinav's bcc bcc.setconnectable(true); //set discoverable mode using atinav's bcc bcc.setdiscoverable(discoveryagent.giac); try{ localdevice = localdevice.getloacldevice(); } catch (bluetoothstateexception exp) { } // implementation of methods in discoverylistener class // of javax.bluetooth goes here // work } }
i installed jme wireless toolkit 2.2 not i'm looking for.
i want program in java connection bluetooth device.
so can explain how install javax.bluetooth api included in jsr-82 ?
Comments
Post a Comment