I do not think this is possible because FileInputStream is just an InputStream for files. It performs the task of getting an InputStream from a specific file for you, after which you work with a regular InputStream.
Android has already done the job for you. So why do you need a FileInputStream?
source share