⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hiisi.jad

📁 蓝牙上网 j2me的源代码
💻 JAD
字号:
import java.io.*;import javax.microedition.io.*;import javax.bluetooth.*;public class L2CAPClient {    public static void main( String args[] ) {        try {            String url = "btl2cap://000eed3d1829:1101";            L2CAPConnection con =                 (L2CAPConnection) Connector.open(url);            String greeting = "JSR-82 L2CAP client says hello";            con.send( greeting.getBytes() );            byte buffer[] = new byte[80];            int bytes_read = con.receive( buffer );            String received = new String(buffer, 0, bytes_read);            System.out.println("received: " + received);                        con.close();        } catch ( IOException e ) {            System.err.print(e.toString());        }    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -