设为首页 加入收藏

TOP

Android应用中可以调用的系统Activity
2014-11-24 02:33:43 来源: 作者: 【 】 浏览:0
Tags:Android 应用 可以 调用 系统 Activity

1、拨号界面:


Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:123456789"));


startActivity(callIntent);


2、将电话号传入到拨号程序


Intent dialIntent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:123456789"));


startActivity(dialIntent);


3、调用拨号程序


Intent touchDialerIntent = new Intent(“coom.android.hone.action.TOUCH_DIALER”);


startActivity(touchDialerIntent);


4、浏览网页


startActivity(webIntent);


5、向email客户端传递地址


Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:123@123.com"));


startActivity(emailIntent);


6、还可以直接将邮件内容发送到邮件客户端,暂时没用到


7、查看联系人


Intent contactIntent = new Intent(“com.android.cantacts.action.LIST_CONTACTS”));


startActivity(contactIntent);


8、显示系统设置界面


Intent settingIntent = new Intent(“com.”));


startActivity(contactIntent);


推荐阅读


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇C语言存储类别(Storage Class) 下一篇Python对Redis进行实时用户数统计

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: