Closed chinavane closed 5 years ago
result.path return path like /data/user/0/XXXXX,but i want to get the path like file:///storage/emulated/0/Pictures/images/image-0b1ae10a-d598-4f6d-aba5-f3212c4dd10f.jpg,whether to directly add the string file://
It is returning the full path already.
@chinavane just prepend the path with "file://". This will give you the uri that you require.
result.path return path like /data/user/0/XXXXX,but i want to get the path like file:///storage/emulated/0/Pictures/images/image-0b1ae10a-d598-4f6d-aba5-f3212c4dd10f.jpg,whether to directly add the string file://