本文整理自网络,侵删。
// 要用到的单元usesAndroidapi.JNI.GraphicsContentViewText, Androidapi.Helpers;

procedure TForm1.Button1Click(Sender: TObject);varAIntent: JIntent;ACode, AUrl:string;beginACode:='fkx02276cbc6y0wchg5cac3';//如:以上为我的支付宝二维码 www.delphifmx.comAUrl:='intent://platformapi/startapp?saId=10000007'+'&clientVersion=3.7.0.0718'+'&qrcode=https%3A%2F%2Fqr.alipay.com%2F'+ACode+'%3F_s'+'%3Dweb-other&_t=1472443966571#Intent'+';scheme=alipayqr'+';package=com.eg.android.AlipayGphone'+';end';AIntent:= TJIntent.JavaClass.parseUri(stringToJstring(AUrl), TJIntent.JavaClass.URI_INTENT_SCHEME);TAndroidHelper.Context.startActivity(AIntent);
end;
//来源:http://www.delphifmx.com/node/51 相关阅读 >>
Delphi datetimepicker 宽度如何与Delphi自带style同步
Delphi 网上获取北京时间firedac 下的 sqlite [3] - 获取数据库的基本信息
Delphi下cpu getcpuid实现(x86和x64)
Delphi的组件选项卡(component palette)
更多相关阅读请进入《Delphi》频道 >>