1,Intents and Intent Filters 中<data> 的 说明

原文:

For example, in the following URI,

content://com.example.project:200/folder/subfolder/etc

the scheme is "content", the host is "com.example.project", the port is "200", and the path is "folder/subfolder/etc". The host and port together constitute the URI authority; if a host is not specified, the port is ignored.

这里的错误的地方在于path=”folder/subfolder/etc

而实际上path=”/folder/subfolder/etc” 在首位应该还有一个分隔符,少了这个分隔符,将无法匹配<data>

由android 2.2 测试实际方法得出:

ps:有同样的错误的文章

Content Providers 中 Content URI Summary C 项的解释

更多相关文章

  1. 编译Android出现/usr/bin/ld: cannot find -lncurses错误
  2. android 异常错误积累
  3. Android 导入第三方库 遇到的错误
  4. Android布局文件-错误
  5. Android错误之(Android 6.0)Unable to add window android.view.
  6. Android Studio连接华为mate8手机调试时不显示错误日志的解决办
  7. Android 从源码分析BLE连接错误分析
  8. android 4.0.3编译错误

随机推荐

  1. Android SearchView介绍及搜索提示实现
  2. Service Manager进程启动,睡眠等待在进程p
  3. Android中话bitmap的简单示例
  4. Android Audio Effect 机制初探
  5. android xliff字符串操作
  6. 解决android 4.0 EditText无框的烦恼
  7. [导入]Android代码优化
  8. Unknown Android Packaging Problem
  9. Android(安卓)Binder 通信机制学习(四)
  10. Error:Could not find com.android.tools