Android应用中可以调用的系统Activity

2014-11-24 02:33:43 · 作者: · 浏览: 2

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);


推荐阅读