比如说有.txt,.doc,还有其他的一些格式都可以对应一个text对应的格式,那么我们就可以把这些归到一个return this MIME type:vnd.android.cursor.item/vnd.example.text
然后就可以使用这个做对应的打开方式的动作(可以打开所有文本文件的动作)
然后就可以使用这个做对应的打开方式的动作(可以打开所有文本文件的动作)
解决方案 »
- Android市场更新软件的方式
- httpCliet与httpURLConnection 主要区别及使用场合
- 布局文件如何适应各个分辨率
- OutOfMemory 内存溢出
- 请问我写的这个类中,为什么第一个动画不能切换图片?(AnimationDrawable)
- 关于webview的问题
- PC上发布了一个WEB服务,怎么把她展现到手机模拟的浏览器上?
- intent问题
- 高分求实例化一个IBinder的接口
- 类型 FragmentTransaction 中的方法 replace(int, Fragment)对于参数(int, Fragment1)不适用
- 与C#服务端网络通信的问题!
- android中使用下面这种方式切换语言后为什么要重启才生效?
URI submitted to getType() limits the request to a specific record.
There's one form of the MIME type for a single record and another for multiple records.
Use the Uri methods to help determine what is being requested. (官网doc)
不要复制DOC