Open DavidBoyes opened 10 years ago
Thanks @DavidBoyes . Will have a look at this soon.
I haven't experience any problems with this yet. Do you have an example filename that causes this issue? I can check that quickly. Sorry for replying so late to this.
If you have an image which contains an encoded URL as the file name then the image-chooser-library will return "File not found". It appears that Uri.parse decodes the file name which causes an issue when trying to copy the file in the MediaProcessThread copyFileToDir() method.
What would the downside be to changing
file = new File(Uri.parse(filePath).getPath());
tofile = new File(filePath);