In a App. i am saving the images from server in Document Directory.
In Database that images are came as “image4_12:19:27.png”
in documents directory folder that images stored as “image4_12/19/27.png”
How that image convert “image4_12:19:27.png” to “image4_12/19/27.png” in Document Directory.
What should i do?
You can split the file name into parts separated by
:and then later append them.where
documentsDirectoryis the path to the documents directory.