No Activity found to handle Intent报错原因。初学1.供大家分享。
来源:互联网 发布:linux 查找文件关键字 编辑:程序博客网 时间:2024/05/30 05:24
bt_1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { EditText txt=(EditText)findViewById(R.id.txt); String number=txt.getText().toString(); Intent intent=new Intent(); intent.setAction(intent.ACTION_CALL);//执行settion事件对象是call intent.setData(Uri.parse("Tel:"+number)); startActivity(intent);//塞进动作到新界面里
因为Tel应该写成tel,原因是里的tel千万不能出错。注意大小写。
阅读全文
0 0
- No Activity found to handle Intent报错原因。初学1.供大家分享。
- ActivityNotFoundException: No Activity found to handle Intent
- 【Android】 No Activity found to handle Intent.
- No Activity found to handle Intent
- ActivityNotFoundException: No Activity found to handle Intent
- ActivityNotFoundException: No Activity found to handle Intent
- android代码安装报错No activity found to handle Intent error
- 关于Android使用隐式启动Activity报No Activity found to handle Intent的问题
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- 关于No Activity found to handle Intent的问题
- 隐试意图:ActivityNotFoundException: No Activity found to handle Intent
- Android关于No Activity found to handle Intent的问题
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- android.content.ActivityNotFoundException: No Activity found to handle Intent
- Android6.0权限
- codeforces 802K Send the Fool Further! (medium) 树形dp
- Quartz与Spring里面实现定时器
- leetcode题解-392. Is Subsequence
- java基础习题50道(九)
- No Activity found to handle Intent报错原因。初学1.供大家分享。
- spark学习笔记之三:调度流程剖析
- Android的应用(APP)启动详细流程
- PHP中数据导出csv
- JAVA实现SFTP的实例 转自http://www.xfok.net/2009/10/124485.html
- 对象成员的引用
- jfinal和freemaker的分页
- Log4J 配置文件
- IIS出现Server Error in ''/'' Application 的错误,解决方案