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

Capture and play voice with Asterisk ARI -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -

c# - Can I intercept a SOAP response in .NET before a content type binding mismatch ProtocolException? -