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 -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -