@Override
public void onClick(View v) {
String content = null;
switch (v.getId()) {
case R.id.bt_dia:
content="tel:13799741047";
break;
case R.id.bt_sms:
content="sms:13799741047";
break;
case R.id.bt_email:
content="mailto:wuxifu001@126.com";
break;
case R.id.bt_web:
content="http://www.baidu.com";
break;
default:
break;
}
Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(content));
startActivity(intent);
}
相关推荐
Spring in Action CN.001<br>Spring in Action CN.002<br>Spring in Action CN.003<br>Spring in Action CN.004<br>Spring in Action CN.005<br>Spring in Action CN.006<br>Spring in Action ... <br>本书信息:...
Spring in Action CN.001<br>Spring in Action CN.002<br>Spring in Action CN.003<br>Spring in Action CN.004<br>Spring in Action CN.005<br>Spring in Action CN.006<br>Spring in Action ... <br>本书信息:...
form name="myform" id="myform" action="ssss" method="post" onsubmit="getUrl();"> javascript方法: [removed] function getUrl(){ $('form').attr('action','new_url'); } [removed] 或者用单纯的...
1:非重用型:只能在被存储它的TEST中...右键ACTION PROPERTIES>EXTERNAL ACTION>USE A LOCAL,EDITABLE COPY。 调用重用型的ACTION可以在以后新版本中控件发生变化时只升级被调用的可重复型ACTION所在的源程序即可。
Akka in Action shows you how to build message-oriented systems with Akka. This comprehensive, hands-on tutorial introduces each concept with a working example. You’ll start with the big picture of ...
jQuery in Action, Third Edition, is a fast-paced guide to jQuery, focused on the tasks you'll face in nearly any web dev project. In it, you'll learn how to traverse the DOM, handle events, perform ...
Mirillis Action!是一款高质量顶级屏幕录制软件,乍一看Action录制软件是不是有点像 Bandicam,其实吧这家伙不但长的像功能也很强悍,其保存输出格式可以保存为高质量的AVI、MP4格式,输出尺寸也可以为适应具体用途...
资源中示例了一个struts2的配置文件中配置的action的result结果为另外一个action的配置,该跳转的过程中是带所有参赛调整的,在另外一个action中可以接受到当前action的所有参数,此配置文件是我日常开发中的经验...
jsp自动调用action采用中间jsp方法 就是采用从欢迎页跳到action处理再转到展示页面,就可以访问页面时加载数据
Hadoop In Action 中文第二版 卷二 rar
MongoDB in Action, 2nd Edition
Spring Security in Action
spring in action所需jar包
电子书 Entity Framework 4 In Action
主要介绍了JavaScript获取网页表单action属性的方法,涉及javascript操作表单属性的技巧,具有一定参考借鉴价值,需要的朋友可以参考下
Camel in action 一书的PDF电子书 和源代码
Action-RPG Starter Kit 6.55 商店几百买的最新
Spring in action Spring in action Spring in action Spring in action Spring in action Spring in action
action之间的跳转action之间的跳转