Coder Social home page Coder Social logo

部分照片无法预览 about matisse HOT 5 OPEN

zhihu avatar zhihu commented on May 27, 2024
部分照片无法预览

from matisse.

Comments (5)

itsMelo avatar itsMelo commented on May 27, 2024

刚才我更换了一个 nexus 5 Android 6.0 进行测试,没有出现无法预览的问题。

出问题的手机是 一加3T Android 7.0

这是不是与 7.0 上文件共享权限有关呢?

from matisse.

eprendre avatar eprendre commented on May 27, 2024

哥们用的那个demo是吧?我猜是7.0的问题,demo里的manifest指定了file_paths_public.xml, 但file_paths_public里面的内容是这样的

<paths>
    <external-path
        name="my_images"
        path="Pictures"/>
</paths>

这代表只能获取Pictures目录,你改成

<paths>
    <external-path
        name="my_images"
        path=""/>
</paths>

这样外部存储路径下都可以访问了

from matisse.

itsMelo avatar itsMelo commented on May 27, 2024

@eprendre 感谢回复哈,又查了查 确实是这个问题~

from matisse.

gejiaheng avatar gejiaheng commented on May 27, 2024

@itsMelo @eprendre
I'll check this problem and try to fix it.

from matisse.

fuyoutianxia avatar fuyoutianxia commented on May 27, 2024

你好,请问拍照返回的uri,能转换成路径么,我的一转换就崩溃了,在本地也找不到拍摄的图片

from matisse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.