有没有真正的高手能解释清楚contentProvider的getType方法的作用是什么?不要挖baidu!我已经找过了!
解决方案 »
- 求android方面开发的网站,谢谢。
- setListAdapter()总是显示有误
- android客户端使用socket连接本机进行通信
- 关于activity的启动的问题。
- 安卓源代码编译后模拟出现NAND:bad arg:music怎么办
- android平台下如何调用socketcan驱动
- 有没有兄弟做过Android API 级的测试
- 怎么让一个不是全屏的webview位于屏幕中间
- error opening trace file: No such file or directory (2) 真机测试问题
- iPad和智能手机又什么区别?尤其对开发者来说?
- android 2.3, 如何用回系统自已的桌面呢?
- 严重错误的android代码求指点!!泪流满脸啊!!
For example, a request for train record 122, like this URI,
content://com.example.transportationprovider/trains/122
might return this MIME type:
vnd.android.cursor.item/vnd.example.railFor multiple records: vnd.android.cursor.dir/vnd.yourcompanyname.contenttype
For example, a request for all train records, like the following URI,
content://com.example.transportationprovider/trains
might return this MIME type:
vnd.android.cursor.dir/vnd.example.rail
返回的mime字符串用在哪里呢???