本文整理自网络,侵删。
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 读文件到十六进制的函数(Delphi 7 下可用)
Delphi idhttp 设置cookie 和访问后读取cookie 值
更多相关阅读请进入《Delphi》频道 >>