search

Home  >  Q&A  >  body text

android - 同一个文件获取到的URI不同

三星和华为pad获取到的同一个文件的格式不一样,一个是file开头的一个好像是context开头的,造成通过URI转换成绝对路径时context开头的转化失败,是null

阿神阿神2889 days ago544

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 17:44:48

    One is path, the other is url, the two can be converted to each other.

    reply
    0
  • Cancelreply