Android关于No Activity found to handle Intent的问题 拨号问题

 
 
在Fragment中写了一个跳转到拨号界面功能
Intent intent = new Intent(Intent. ACTION_DIAL, Uri. parse( "tel:" + "10086")) ; startActivity(intent) ;
改完后


 
 
Intent intent1 = new Intent(Intent. ACTION_DIAL) ; intent1.setData(Uri. parse( "tel:10086")) ; startActivity(intent1) ;

不知道什么原因记录一下!!!!

猜你喜欢

转载自blog.csdn.net/qq524752841/article/details/79730659
今日推荐