.Net语言 APP开发平台——Smobiler学习日志:在手机应用开发中如何快速调用电话拨打功能

样式一

一、目标样式

smobiler

我们要实现上图中的效果,需要如下的操作:

1.从工具栏上的”Smobiler Components”拖动一个PhoneButton控件到窗体界面上

smobiler

2.修改PhoneButton控件的属性

a.PhoneNumber属性

设置拨打的电话号码,将该属性设置为“18257342518”,即点击控件,直接拨打电话号码18257342518

当该属性值为空时,点击控件,调用通讯录

b.Size属性

设置控件的宽度和高度,将该属性设置为(15,13),如图2

c.Location属性

使得控件显示在合适的位置(86,2),如图3

d.ResourceID属性

使得手机界面上显示我们需要的图片,如图4

smobiler smobiler smobiler smobiler
图1 图2 图3 图4

3.Smobiler窗体设计界面显示效果

smobiler

二、手机效果显示

smobiler smobiler

posted @ 2017-06-23 16:18  阿曼达  阅读(304)  评论(0编辑  收藏  举报