码迷,mamicode.com
首页 > 移动开发 > 详细

Delphi XE6 Android拨号函数

时间:2018-02-04 19:28:48      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:ref   tar   turn   src   article   使用   div   width   box   

http://blog.sina.com.cn/s/blog_44fa172f0101rpex.html

 

Delphi XE6 Android拨号函数

 (2014-05-07 17:48:51)
标签: 

it

分类: DelphiXE6
//引用单元:FMX.PlatForm, FMX.PhoneDialer
procedure TForm1.Call(ANum: String);
var
  PhoneDialerService: IFMXPhoneDialerService;
begin

  if TPlatformServices.Current.SupportsPlatformService(IFMXPhoneDialerService,
    IInterface(PhoneDialerService)) then
    if ANum <> ‘‘ then
      PhoneDialerService.Call(ANum);

end;
    这里使用的SupportsPlatFormService会返回PhoneDialerService实例!

Delphi XE6 Android拨号函数

标签:ref   tar   turn   src   article   使用   div   width   box   

原文地址:https://www.cnblogs.com/westsoft/p/8413822.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!