android - How to get the file has special symbols? -
when try file named 1233%1111.png,i file not found error.i know it's because special symbol %.how can solve problem? want upload image. now,i try use uri approach , create new file file.then upload new file.
if creating 'file' variable, can try file.exists(), , handle accordingly.
if want check file name, can filename (as string) , use contains("%"), example
Comments
Post a Comment