Intent 用法
来源:互联网 发布:蜂鸟网络 深圳 编辑:程序博客网 时间:2024/06/05 03:36
调去系统联系人:
方法1
Intent intent = new Intent();
intent.setAction(Intent.ACTION_PICK);
intent.setData(Contacts.People.CONTENT_URI);
startActivity(intent);
startActivityForResult(intent, 0);
方法2
Intent i = new Intent(Intent.ACTION_PICK);
i.setType("vnd.android.cursor.dir/phone");
startActivityForResult(i, 0);
- Intent用法
- Intent用法
- intent 用法
- Intent 用法
- Intent用法
- Intent用法
- Intent用法
- Intent用法
- intent用法
- Intent用法
- intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)用法
- Android Intent 用法汇总
- Intent的常见用法
- Intent 用法大全
- Intent 用法大公開
- Android Intent 用法汇总
- Intent用法总结
- Intent 用法集合
- Android AIDL——实现机制浅析
- boost内存池简单应用(一)
- C++语言Singleton
- Android FrameWork——ActivityManager框架
- SAP ABAP STOP,EXIT,CHECK,RETURN
- Intent 用法
- 栈和堆存储学习总结
- 电子工程师必备基础知识
- linux界面操作程序
- [doubango Programmer's Guide] 10 Sockets and Network Functions(tinyNET) 翻译
- Android FrameWork——PackageManager框架
- jQuery中text()与 val() htm()的区别 小结
- scp命令详解,linux两台机器ssh无密码连接
- Hibernate关系映射 --- 一对一实例分析(双向关联,是基于主键的)