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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -