I want to save some Bytes with the FileOutputStream but it says the file name is too long (/mnt/sdcard/3m.png)..
I get the file name in UTF-8 coded Bytes, I create a String like:
String FilePath = new String(FilePathBytes, 0, FilePathBytes.length, "UTF-8");
This FilePath String throws the FileNotFoundException, if I set the FilePath directly
FilePath = "/mnt/sdcard/3m.png";
it saves my file..
How can I solve this?