Delphi XE7上启用Android蓝牙

2022-12-01 14:33:12 作者:admin

本文整理自网络,侵删。

 uses  Androidapi.JNI.Bluetooth,  Androidapi.Helpers,  Androidapi.JNI.GraphicsContentViewText;
procedure TForm2.Button4Click(Sender: TObject);var  Intent: JIntent;begin  Intent := TJIntent.Create;  Intent.setAction(TJBluetoothAdapter.JavaClass.ACTION_REQUEST_ENABLE);  SharedActivity.startActivity(Intent);end;

相关阅读 >>

Delphi tstreamwriter tstreamreader 流操作3

Delphi应用程序 paramstr()带有参数

Delphi not 与整数

Delphi processid, process handle, window handle 之间的互相转换

Delphi创建证书密钥库文件

Delphi 获取鼠标坐标大全方法

Delphi 文件crc和md5校验

aes.pas 和 elaes.pas

解决 Delphi 程序在不同操作系统中 shellexecute 调用 chrome.exe 偶尔无效的问题

Delphi 延时程序

更多相关阅读请进入《Delphi》频道 >>



在线咨询 拨打电话