Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Better behavior] 选取图片并复制到请求应用指定的位置的后续处理 #1

@fython

Description

@fython

Android 调用相机动作中需要传入拍摄相片保存的位置,本工具的原理是将媒体图片复制一份到目的位置然后通知应用拍摄完毕,然而应用使用图片后会继续保留该文件,导致每次选取图片后都会产生重复的文件,对用户使用空间造成污染。

另外,微信使用了 Content Provider 提供跨进程文件访问,可能无法通过 Content Uri 来删除微信内保存的文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions