本文整理自网络,侵删。
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 idhttp post json 上传 php 接收
incyear:将一个tdatetime变量加减一定数量的年数
更多相关阅读请进入《Delphi》频道 >>