Android拨号
来源:互联网 发布:中南大学网络教育平台 编辑:程序博客网 时间:2024/05/04 21:27
Android拨号很简单,使用intent就可以实现:
String number = "13535363738";//电话号码Intent intent = new Intent();intent.setAction("android.intent.action.CALL");intent.setData(Uri.parse("tel:"+ number));startActivity(intent);
在配置文件中需要配置权限:
<uses-permission android:name="android.permission.CALL_PHONE"/>
0 0
- Android拨号
- Android 拨号
- Android拨号
- 【android】调用系统拨号器进行拨号
- android如何截获拨号
- Android 如何 截获拨号
- android 拨号程序
- 《Android------拨号器》
- android拨号器...
- android 电话拨号器
- Android电话拨号器
- android 拨号面板
- Android 电话拨号
- android电话拨号器
- android电话拨号器
- Android 实现PPPoE拨号
- Android 使用 ACTION_CALL 拨号
- android实现拨号功能
- 重要控件-UITableView
- error: #29: expected an expression,error: #140: too many arguments in function call
- android复习笔记(1) - Activity相关
- Android图片缩放库 Photoview 和 Gif 控件GifView 的使用
- 用instancetype代替id作返回类型有什么好处?
- Android拨号
- 56.UICollectionView的基本使用
- Android复习笔记(2) - Intent介绍
- Socket与WSASocket的区别
- sigaction 的使用
- POJ 2448(K短路,A*+SPFA) Remmarguts' Date
- hdu4585 shaolin Treap
- Drawable Resources
- cocos2dx中的动画